@@ -9792,8 +9792,8 @@ CONDITIONAL GROUPS
97929792 (?(VERSION>=10.4)yes|no)
97939793
97949794 This pattern matches "yes" if the PCRE2 version is greater or equal to
9795- 10.4, or "no" otherwise. The fractional part of the version number may
9796- not contain more than two digits .
9795+ 10.4, or "no" otherwise. The fractional part of the version number
9796+ could be ommited .
97979797
97989798 Assertion conditions
97999799
@@ -10757,11 +10757,11 @@ AUTHOR
1075710757
1075810758REVISION
1075910759
10760- Last updated: 29 August 2025
10760+ Last updated: 2 September 2025
1076110761 Copyright (c) 1997-2024 University of Cambridge.
1076210762
1076310763
10764- PCRE2 10.47-DEV 29 August 2025 PCRE2PATTERN(3)
10764+ PCRE2 10.47-DEV 2 September 2025 PCRE2PATTERN(3)
1076510765------------------------------------------------------------------------------
1076610766
1076710767
@@ -12262,23 +12262,27 @@ CONDITIONAL PATTERNS
1226212262 (?(condition)yes-pattern)
1226312263 (?(condition)yes-pattern|no-pattern)
1226412264
12265- (?(n) absolute reference condition
12266- (?(+n) relative reference condition (PCRE2 extension)
12267- (?(-n) relative reference condition (PCRE2 extension)
12268- (?(<name>) named reference condition (Perl)
12269- (?('name') named reference condition (Perl)
12270- (?(name) named reference condition (PCRE2, deprecated)
12271- (?(R) overall recursion condition
12272- (?(Rn) specific numbered group recursion condition
12273- (?(R&name) specific named group recursion condition
12274- (?(DEFINE) define groups for reference
12275- (?(VERSION[>]=n.m) test PCRE2 version
12276- (?(assert) assertion condition
12265+ (?(n) absolute reference condition
12266+ (?(+n) relative reference condition (PCRE2 extension)
12267+ (?(-n) relative reference condition (PCRE2 extension)
12268+ (?(<name>) named reference condition (Perl)
12269+ (?('name') named reference condition (Perl)
12270+ (?(name) named reference condition (PCRE2, deprecated)
12271+ (?(R) overall recursion condition
12272+ (?(Rn) specific numbered group recursion condition
12273+ (?(R&name) specific named group recursion condition
12274+ (?(DEFINE) define groups for reference
12275+ (?(VERSION[>]=n[.m]) test PCRE2 version
12276+ (?(assert) assertion condition
1227712277
1227812278 Note the ambiguity of (?(R) and (?(Rn) which might be named reference
1227912279 conditions or recursion tests. Such a condition is interpreted as a
1228012280 reference condition if the relevant named group exists.
1228112281
12282+ The parts within brackets for the VERSION conditional syntax could be
12283+ ommited. The fractional part of the version number defaults to 0 in
12284+ that case.
12285+
1228212286
1228312287BACKTRACKING CONTROL
1228412288
@@ -12342,20 +12346,19 @@ REPLACEMENT STRINGS
1234212346 1. Backslash is an escape character, and the forms described in "ES-
1234312347 CAPED CHARACTERS" above are recognized. Also:
1234412348
12345- \Q...\E can be used to suppress interpretation
12346- \l force the next character to lower case
12347- \u force the next character to upper case
12348- \L force subsequent characters to lower case
12349- \U force subsequent characters to upper case
12350- \u\L force next character to upper case, then all lower
12351- \l\U force next character to lower case, then all upper
12352- \E end \L or \U case forcing
12353- \b backspace character (note: as in character class in pat-
12354- tern)
12355- \v vertical tab character (note: not the same as in a pattern)
12349+ \Q...\E can be used to suppress interpretation
12350+ \l force the next character to lower case
12351+ \u force the next character to upper case
12352+ \L force subsequent characters to lower case
12353+ \U force subsequent characters to upper case
12354+ \u\L force next character to upper case, then all lower
12355+ \l\U force next character to lower case, then all upper
12356+ \E end \L or \U case forcing
12357+ \b backspace character (note: as in character class in pattern)
12358+ \v vertical tab character (note: not the same as in a pattern)
1235612359
1235712360 2. The Python form \g<n>, where the angle brackets are part of the syn-
12358- tax and n is either a group name or a number, is recognized as an al-
12361+ tax and n is either a group name or a number, is recognized as an al-
1235912362 ternative way of inserting the contents of a group, for example \g<3>.
1236012363
1236112364 3. Capture substitution supports the following additional forms:
@@ -12369,7 +12372,7 @@ REPLACEMENT STRINGS
1236912372
1237012373SEE ALSO
1237112374
12372- pcre2pattern(3), pcre2api(3), pcre2callout(3), pcre2matching(3),
12375+ pcre2pattern(3), pcre2api(3), pcre2callout(3), pcre2matching(3),
1237312376 pcre2(3).
1237412377
1237512378
@@ -12382,11 +12385,11 @@ AUTHOR
1238212385
1238312386REVISION
1238412387
12385- Last updated: 28 March 2025
12388+ Last updated: 2 September 2025
1238612389 Copyright (c) 1997-2024 University of Cambridge.
1238712390
1238812391
12389- PCRE2 10.47-DEV 28 March 2025 PCRE2SYNTAX(3)
12392+ PCRE2 10.47-DEV 2 September 2025 PCRE2SYNTAX(3)
1239012393------------------------------------------------------------------------------
1239112394
1239212395
0 commit comments