@@ -54,9 +54,10 @@ interprets them.
54
54
7. The Perl escape sequences \e p, \e P, and \e X are supported only if PCRE2 is
55
55
built with Unicode support (the default). The properties that can be tested
56
56
with \e p and \e P are limited to the general category properties such as Lu and
57
- Nd, script names such as Greek or Han, Bidi_Class, Bidi_Control, and the
58
- derived properties Any and LC (synonym L&). Both PCRE2 and Perl support the Cs
59
- (surrogate) property, but in PCRE2 its use is limited. See the
57
+ Nd, the derived properties Any and LC (synonym L&), script names such as Greek
58
+ or Han, Bidi_Class, Bidi_Control, and a few binary properties. Both PCRE2 and
59
+ Perl support the Cs (surrogate) property, but in PCRE2 its use is limited. See
60
+ the
60
61
.\" HREF
61
62
\fB pcre2pattern \fP
62
63
.\"
@@ -204,6 +205,11 @@ documentation for details. Perl went with 5.10 from recursion to iteration
204
205
keeping the intermediate matches on the heap, which is ~10% slower but does not
205
206
fall into any stack-overflow limit. PCRE2 made a similar change at release
206
207
10.30, and also has many build-time and run-time customizable limits.
208
+ .P
209
+ 21. Unlike Perl, PCRE2 doesn't have character set modifiers and specially no way
210
+ to set characters by context just like Perl's "/d". A regular expression using
211
+ PCRE2_UTF and PCRE2_UCP will use similar rules to Perl's "/u"; something closer
212
+ to "/a" could be selected by adding other PCRE2_EXTRA_ASCII* options on top.
207
213
.
208
214
.
209
215
.SH AUTHOR
@@ -220,6 +226,6 @@ Cambridge, England.
220
226
.rs
221
227
.sp
222
228
.nf
223
- Last updated: 19 September 2023
229
+ Last updated: 12 October 2023
224
230
Copyright (c) 1997-2023 University of Cambridge.
225
231
.fi
0 commit comments