From 14edec2ad785169d94dc1de979e0bff845955b23 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Mon, 25 Sep 2017 15:05:29 +0000 Subject: [PATCH] Fix typos in documentation. --- doc/html/pcre2api.html | 12 ++++++------ doc/pcre2.txt | 12 ++++++------ doc/pcre2api.3 | 14 +++++++------- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/doc/html/pcre2api.html b/doc/html/pcre2api.html index 5bccd7a..5d3ff6a 100644 --- a/doc/html/pcre2api.html +++ b/doc/html/pcre2api.html @@ -2358,7 +2358,7 @@ Here is an example of a simple call to pcre2_match(): 11, /* the length of the subject string */ 0, /* start at offset 0 in the subject */ 0, /* default options */ - match_data, /* the match data block */ + md, /* the match data block */ NULL); /* a match context; NULL means use defaults */ If the subject string is zero-terminated, the length can be given as @@ -3273,10 +3273,10 @@ default.

PCRE2_ERROR_BADREPLACEMENT is used for miscellaneous syntax errors in the replacement string, with more particular errors being PCRE2_ERROR_BADREPESCAPE -(invalid escape sequence), PCRE2_ERROR_REPMISSING_BRACE (closing curly bracket -not found), PCRE2_BADSUBSTITUTION (syntax error in extended group -substitution), and PCRE2_BADSUBPATTERN (the pattern match ended before it -started, which can happen if \K is used in an assertion). +(invalid escape sequence), PCRE2_ERROR_REPMISSINGBRACE (closing curly bracket +not found), PCRE2_ERROR_BADSUBSTITUTION (syntax error in extended group +substitution), and PCRE2_ERROR_BADSUBSPATTERN (the pattern match ended before +it started, which can happen if \K is used in an assertion).

As for all PCRE2 errors, a text message that describes the error can be @@ -3560,7 +3560,7 @@ Cambridge, England.


REVISION

-Last updated: 17 September 2017 +Last updated: 25 September 2017
Copyright © 1997-2017 University of Cambridge.
diff --git a/doc/pcre2.txt b/doc/pcre2.txt index e5f44d6..fa8c265 100644 --- a/doc/pcre2.txt +++ b/doc/pcre2.txt @@ -2322,7 +2322,7 @@ MATCHING A PATTERN: THE TRADITIONAL FUNCTION 11, /* the length of the subject string */ 0, /* start at offset 0 in the subject */ 0, /* default options */ - match_data, /* the match data block */ + md, /* the match data block */ NULL); /* a match context; NULL means use defaults */ If the subject string is zero-terminated, the length can be given as @@ -3170,10 +3170,10 @@ CREATING A NEW STRING WITH SUBSTITUTIONS PCRE2_ERROR_BADREPLACEMENT is used for miscellaneous syntax errors in the replacement string, with more particular errors being PCRE2_ERROR_BADREPESCAPE (invalid escape sequence), PCRE2_ERROR_REP- - MISSING_BRACE (closing curly bracket not found), PCRE2_BADSUBSTITUTION - (syntax error in extended group substitution), and PCRE2_BADSUBPATTERN - (the pattern match ended before it started, which can happen if \K is - used in an assertion). + MISSINGBRACE (closing curly bracket not found), PCRE2_ERROR_BADSUBSTI- + TUTION (syntax error in extended group substitution), and + PCRE2_ERROR_BADSUBSPATTERN (the pattern match ended before it started, + which can happen if \K is used in an assertion). As for all PCRE2 errors, a text message that describes the error can be obtained by calling the pcre2_get_error_message() function (see @@ -3437,7 +3437,7 @@ AUTHOR REVISION - Last updated: 17 September 2017 + Last updated: 25 September 2017 Copyright (c) 1997-2017 University of Cambridge. ------------------------------------------------------------------------------ diff --git a/doc/pcre2api.3 b/doc/pcre2api.3 index 2883a22..343abe4 100644 --- a/doc/pcre2api.3 +++ b/doc/pcre2api.3 @@ -1,4 +1,4 @@ -.TH PCRE2API 3 "17 September 2017" "PCRE2 10.31" +.TH PCRE2API 3 "25 September 2017" "PCRE2 10.31" .SH NAME PCRE2 - Perl-compatible regular expressions (revised API) .sp @@ -2335,7 +2335,7 @@ Here is an example of a simple call to \fBpcre2_match()\fP: 11, /* the length of the subject string */ 0, /* start at offset 0 in the subject */ 0, /* default options */ - match_data, /* the match data block */ + md, /* the match data block */ NULL); /* a match context; NULL means use defaults */ .sp If the subject string is zero-terminated, the length can be given as @@ -3267,10 +3267,10 @@ default. .P PCRE2_ERROR_BADREPLACEMENT is used for miscellaneous syntax errors in the replacement string, with more particular errors being PCRE2_ERROR_BADREPESCAPE -(invalid escape sequence), PCRE2_ERROR_REPMISSING_BRACE (closing curly bracket -not found), PCRE2_BADSUBSTITUTION (syntax error in extended group -substitution), and PCRE2_BADSUBPATTERN (the pattern match ended before it -started, which can happen if \eK is used in an assertion). +(invalid escape sequence), PCRE2_ERROR_REPMISSINGBRACE (closing curly bracket +not found), PCRE2_ERROR_BADSUBSTITUTION (syntax error in extended group +substitution), and PCRE2_ERROR_BADSUBSPATTERN (the pattern match ended before +it started, which can happen if \eK is used in an assertion). .P As for all PCRE2 errors, a text message that describes the error can be obtained by calling the \fBpcre2_get_error_message()\fP function (see @@ -3573,6 +3573,6 @@ Cambridge, England. .rs .sp .nf -Last updated: 17 September 2017 +Last updated: 25 September 2017 Copyright (c) 1997-2017 University of Cambridge. .fi