Commit Graph

72 Commits

Author SHA1 Message Date
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
Nicholas Wilson
fc38d9e784 Implement ALT_EXTENDED_CLASS flag (#523)
* Move some existing character class code into pcre2_compile_class.c
* Add a new flag PCRE2_ALT_EXTENDED_CLASS to change the behaviour of
  parsing [...] character classes, to emit new META codes, and new
  OP_ECLASS codes for nested character classes with operators
* Document the behaviour relative to the UTS#18 standard
* No JIT support; it falls back to the interpreter. DFA is supported.
2024-10-30 11:33:29 +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
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
d8b7f31671 Documentation for substitions processing changes 2024-09-17 16:55:08 +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
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
8314be909f Update HTML and plain text documentation 2023-08-11 19:09:17 +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
Philip Hazel
bf2c8cc564 Update ChangeLog for GitHub commits and generate HTML docs. 2021-10-29 15:12:56 +01:00
Philip Hazel
8f3e11a355 Doc file tidies for 10.38-RC1 2021-08-31 17:14:42 +01:00
Philip Hazel
c232286c6b Update HTML docs. 2021-08-30 16:59:34 +01: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
bf3c7c68ec Final file tidies for 10.32 2018-09-11 14:27:39 +00:00
Philip.Hazel
392974a0cb File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00
Philip.Hazel
b196143523 Make /x more Perl-compatible by recognizing all of Unicode's "Pattern White
Space" characters, not just the ASCII ones.
2018-08-03 09:38:36 +00:00
Philip.Hazel
6e245572b8 Add support for (?^) as now supported by Perl. 2018-07-28 16:23:24 +00:00
Philip.Hazel
e9aa3c0a21 Add support for \N{U+dd...}, for ASCII and Unicode modes only. 2018-07-27 16:30:40 +00:00
Philip.Hazel
192b82cf6e Allow :NAME on (*ACCEPT), (*FAIL), and (*COMMIT) and fix bug with (*MARK)
followed by (*ACCEPT) in an assertion. More small updates to perltest.sh.
2018-07-21 14:34:51 +00:00
Philip.Hazel
937617f343 Update to Unicode 11.0.0 2018-07-07 16:10:29 +00:00