Revision: 419
http://www.exim.org/viewvc/pcre2?view=rev&revision=419
Author: ph10
Date: 2015-11-09 17:09:00 +0000 (Mon, 09 Nov 2015)
Log Message:
-----------
Correct comments.
Modified Paths:
--------------
code/trunk/src/pcre2_compile.c
Modified: code/trunk/src/pcre2_compile.c
===================================================================
--- code/trunk/src/pcre2_compile.c 2015-11-08 14:41:34 UTC (rev 418)
+++ code/trunk/src/pcre2_compile.c 2015-11-09 17:09:00 UTC (rev 419)
@@ -1943,8 +1943,7 @@
number is less than 10, or if there are that many previous extracting left
brackets, it is a back reference. Otherwise, up to three octal digits are
read to form an escaped character code. Thus \123 is likely to be octal 123
- (cf \0123, which is octal 012 followed by the literal 3). If the octal
- value is greater than 377, the least significant 8 bits are taken.
+ (cf \0123, which is octal 012 followed by the literal 3).
Inside a character class, \ followed by a digit is always either a literal
8 or 9 or an octal number. */
@@ -8114,7 +8113,7 @@
Arguments:
pattern the regular expression
- patlen the length of the pattern, or < 0 for zero-terminated
+ patlen the length of the pattern, or PCRE2_ZERO_TERMINATED
options option bits
errorptr pointer to errorcode
erroroffset pointer to error offset