Commit Graph

83 Commits

Author SHA1 Message Date
Nicholas Wilson
5447a395dc Automatic update of doc files #noupdate 2025-02-04 13:03:43 +00:00
Nicholas Wilson
f15bdd334d Update all man page dates #noupdate (#634) 2024-12-18 14:12:58 +00:00
Philip Hazel
55fda7f384 Update EBCDIC documentation; in pcre2pattern move it all into a separate section. 2024-11-27 17:28:11 +00:00
Nicholas Wilson
e0d4eee05e Implement Perl extended character classes (#553)
Fixes #536
2024-11-15 15:55:10 +01:00
Carlo Marcelo Arenas Belón
ef11bee735 pcre2_jit_compile: avoid potential wraparound if framesize <= 0 (#531)
Change the minimum framesize value to match what the code can
support, while at it, refactor some of the conditionals used
so that extracting the framesize is more reliable (as the
assert is polymorphic) and update other seemingly unrelated bits
2024-10-21 15:05:07 +01:00
Nicholas Wilson
b72cc97186 Add support for Turkish I casefolding (#521)
New flag: PCRE2_EXTRA_TURKISH_CASING, and pre-pattern flag
(*TURKISH_CASING).

Also added a pre-pattern flag (*CASELESS_RESTRICT) for this existing
flag.
2024-10-14 17:00:06 +01:00
Philip Hazel
012ab39bd8 Correct substitution documentation 2024-09-24 09:23:40 +01:00
Philip Hazel
82a54640ea Add more $ interpretation to substitutions 2024-09-23 16:59:22 +01:00
Carlo Marcelo Arenas Belón
bc367f1880 pcre2_compile: avoid 1 byte buffer overread parsing VERBs (#487)
As reported recently by ef218fb (Guard against out-of-bounds memory
access when parsing LIMIT_HEAP et al (#463), 2024-09-07), a malformed
pattern could result in reading 1 byte past its end.

Fix a similar issue that affects all VERBs and add test cases to
ensure the original bug and all its siblings are no longer an issue.

While at it fix the wording of the related documentation.
2024-09-22 09:49:03 +01:00
Philip Hazel
f964982eec Add documentation for PCRE2_EXTRA_BS0 and PCRE2_EXTRA_PYTHON_OCTAL 2024-09-21 10:17:10 +01:00
Philip Hazel
b463821c45 Documentation for added interpretation in replacement strings (PR #483) 2024-09-20 15:00:29 +01:00
Philip Hazel
8ddd4b24d6 Documentation for change to \x handling 2024-09-17 14:21:52 +01:00
Philip Hazel
6412606942 Update documentation for scan substring patterns - now supports a list of groups 2024-09-04 12:35:14 +01:00
Philip Hazel
7a0eda1f66 Update documentation for scan_substring; also some code trailing space tidies 2024-08-30 17:31:55 +01:00
Philip Hazel
cedb1fb546 Update documentation of \Q...\E 2024-08-12 17:48:59 +01:00
Philip Hazel
75b1025ae4 Tidy up Unicode class description parsing for \p and \P, including one bug fix. 2024-07-29 16:53:57 +01:00
Philip Hazel
6d82f0cd3d Alter case-independent matching of \p{Lu} etc. to match Perl 2024-07-23 15:54:29 +01:00
Thomas Voss
68852219e6 Fix various typos in documentation (#372)
Most of these typos were found with the following command:

    find doc -type f -name '*.3' -exec aspell -c {} \;
2024-01-19 16:24:58 +00:00
Philip Hazel
aadef0c3b4 File tidies for 10.43-RC1 release 2023-12-28 16:34:04 +00:00
Philip Hazel
1e146e7343 Doc update: clarify ASCII options and update ChangeLog and HTML 2023-10-12 17:49:52 +01:00
Carlo Marcelo Arenas Belón
30464862fd Add (?aT) for updating PCRE2_EXTRA_ASCII_DIGIT in pattern (#307)
Affecting the definition of [:digit:] and [:xdigit:].

For consistency, also allow (?aP) to have a similar effect.
2023-10-11 17:51:01 +01:00
Philip Hazel
90991cf4db Documentation update following PR297 2023-09-30 11:10:40 +01:00
Philip Hazel
79832a7930 Allow spaces and tabs within {...} constructs to match Perl usage. 2023-09-25 17:23:35 +01:00
Philip Hazel
80053ba153 Documentation and tests update 2023-09-20 13:26:10 +01:00
Philip Hazel
0fa5367fa7 Update meaning of {,5} etc to match update in Perl 5.34.0; refactor quantifier parsing 2023-09-13 17:43:43 +01:00
Philip Hazel
5974a84364 Update documentation for variable-length lookbehinds 2023-08-11 18:38:20 +01:00
Philip Hazel
6bf8045997 Documentation update for new PCRE2_EXTRA caseless and ASCII options 2023-02-04 17:19:56 +00:00
Philip Hazel
3103b8f20a Final file tidies for 10.40 2022-04-15 16:57:57 +01:00
Philip Hazel
7f7d3e8521 Documentation update for binary property support 2022-01-12 15:30:22 +00:00
Philip Hazel
7713f33e46 Add support for 4-character script abbreviations 2021-12-28 15:10:12 +00:00
Philip Hazel
944f0e10a1 Documentation for script handling update 2021-12-22 15:02:26 +00:00
Philip Hazel
49b29f837d Add short synonyms for Bidi_Control and Bidi_Class 2021-12-10 16:32:10 +00:00
Philip Hazel
30abd0ac8d Documentation for Bidi_Control and Bidi_Class 2021-12-08 16:37:34 +00:00
Carlo Marcelo Arenas Belón
f5e4e10042 Update to Unicode 14.0.0 (#29) 2021-10-29 14:44:17 +01:00
Philip Hazel
8f3e11a355 Doc file tidies for 10.38-RC1 2021-08-31 17:14:42 +01:00
Philip Hazel
21c26698b3 Lock out \K in lookaround assertions by default, but provide an option to
re-enable the old behaviour, just in case.
2021-08-30 16:57:44 +01:00
Philip.Hazel
8b3f8af535 File tidies for 10.35-RC1 release candidate. 2020-04-15 16:34:36 +00:00
Philip.Hazel
c472f3f91a Update to Unicode 13.0.0. 2020-03-25 17:18:33 +00:00
Philip.Hazel
f006fa5e3c Documentation update. 2019-12-28 14:09:09 +00:00
Philip.Hazel
ac4ab7186d Add (?* and (?<* synonyms for non-atomic lookarounds. 2019-12-28 13:53:59 +00:00
Philip.Hazel
ae9208ab7b Source tidies (trailing spaces) etc. for 10.34-RC1. 2019-10-17 16:39:38 +00:00
Philip.Hazel
aff5a78056 Upgrade to Unicode 12.1.0 2019-07-29 15:32:36 +00:00
Philip.Hazel
620f3a1307 Implement non-atomic positive assertions. 2019-07-13 11:12:03 +00:00
Philip.Hazel
7375089fa5 More file tidies for 10.33-RC1 2019-03-04 18:07:04 +00:00
Philip.Hazel
8c8deae8eb Implement PCRE2_EXTRA_ALT_BSUX to support ECMAscript 6's \u{hhh..} syntax. 2019-02-12 17:50:19 +00:00
Philip.Hazel
d7b10a57d1 Allow non-ASCII in group names when UTF is set; revise group naming terminology
in documentation to use "capture group", as Perl does.
2019-02-06 18:11:36 +00:00
Philip.Hazel
0fc5cda13b Documentation and tests update for script runs. 2018-10-12 17:02:34 +00:00
Philip.Hazel
f26b0b0bae Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
2018-09-24 16:23:53 +00:00
Philip.Hazel
50f0de6015 Lock out \N{U+hhhh} in non-UTF (non-Unicode) modes. 2018-09-02 16:03:27 +00:00
Philip.Hazel
392974a0cb File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00