diff --git a/doc/pcre2compat.3 b/doc/pcre2compat.3 index 351e1a606..fa13fc63a 100644 --- a/doc/pcre2compat.3 +++ b/doc/pcre2compat.3 @@ -54,9 +54,10 @@ interprets them. 7. The Perl escape sequences \ep, \eP, and \eX are supported only if PCRE2 is built with Unicode support (the default). The properties that can be tested with \ep and \eP are limited to the general category properties such as Lu and -Nd, script names such as Greek or Han, Bidi_Class, Bidi_Control, and the -derived properties Any and LC (synonym L&). Both PCRE2 and Perl support the Cs -(surrogate) property, but in PCRE2 its use is limited. See the +Nd, the derived properties Any and LC (synonym L&), script names such as Greek +or Han, Bidi_Class, Bidi_Control, and a few binary properties. Both PCRE2 and +Perl support the Cs (surrogate) property, but in PCRE2 its use is limited. See +the .\" HREF \fBpcre2pattern\fP .\" @@ -204,6 +205,11 @@ documentation for details. Perl went with 5.10 from recursion to iteration keeping the intermediate matches on the heap, which is ~10% slower but does not fall into any stack-overflow limit. PCRE2 made a similar change at release 10.30, and also has many build-time and run-time customizable limits. +.P +21. Unlike Perl, PCRE2 doesn't have character set modifiers and specially no way +to set characters by context just like Perl's "/d". A regular expression using +PCRE2_UTF and PCRE2_UCP will use similar rules to Perl's "/u"; something closer +to "/a" could be selected by adding other PCRE2_EXTRA_ASCII* options on top. . . .SH AUTHOR @@ -220,6 +226,6 @@ Cambridge, England. .rs .sp .nf -Last updated: 19 September 2023 +Last updated: 12 October 2023 Copyright (c) 1997-2023 University of Cambridge. .fi diff --git a/doc/pcre2unicode.3 b/doc/pcre2unicode.3 index 1ed8aaf58..eb613f468 100644 --- a/doc/pcre2unicode.3 +++ b/doc/pcre2unicode.3 @@ -42,9 +42,11 @@ When PCRE2 is built with Unicode support, the escape sequences \ep{..}, \eP{..}, and \eX can be used. This is not dependent on the PCRE2_UTF setting. The Unicode properties that can be tested are a subset of those that Perl supports. Currently they are limited to the general category properties such as -Lu for an upper case letter or Nd for a decimal number, the Unicode script -names such as Arabic or Han, Bidi_Class, Bidi_Control, and the derived -properties Any and LC (synonym L&). Full lists are given in the +Lu for an upper case letter or Nd for a decimal number, the derived properties +Any and LC (synonym L&), the Unicode script names such as Arabic or Han, +Bidi_Class, Bidi_Control, and a few binary properties. +.P +The full lists are given in the .\" HREF \fBpcre2pattern\fP .\" @@ -478,6 +480,6 @@ Cambridge, England. .rs .sp .nf -Last updated: 04 February 2023 +Last updated: 12 October 2023 Copyright (c) 1997-2023 University of Cambridge. .fi