64 Commits

Author SHA1 Message Date
Nicholas Wilson
cbfe089624 Automatic update of doc files #noupdate 2025-08-28 10:39:03 +00:00
github-actions[bot]
2e03e32333 Sync autogenerated files #noupdate 2025-03-24 13:30:18 +00:00
Nicholas Wilson
eb3bd3cf14 New pcre2_next_match() API to simplify pcre2demo, test, and substitute (#733)
* The primary purpose of pcre2_next_match() is to make it much easier for
  PCRE2 clients to iterate over matches, without needing an advanced knowledge
  of regular expressions.
* Secondly, we can simplify our own code by merging the three duplicate
  implementations of the /g global match behaviour: pcre2demo, pcre2_substitute,
  and pcre2test.
* Thirdly, as I look closely at the issue, I can improve the documentation.
* Fourthly, I would like to actually simplify the logic, removing a complex loop
  which makes several match attempts, swallows duplicate matches, and more.
  We can have identical behaviour with a simple retry using
  PCRE2_NOTEMPTY_ATSTART.
2025-03-24 13:29:52 +00:00
github-actions[bot]
773486b4b5 Sync autogenerated files #noupdate 2025-02-28 22:29:19 +00:00
Nicholas Wilson
2aa7681fb5 Update with my release procedure (#684) 2025-02-05 09:53:59 +00:00
github-actions[bot]
2ec34b9099 Sync autogenerated files 2025-01-12 15:30:09 +00:00
Nicholas Wilson
236853194f Update modification dates #noupdate 2024-12-27 00:49:58 +00:00
Nicholas Wilson
64613feb6d Update modified dates #noupdate 2024-12-26 23:50:55 +00:00
Nicholas Wilson
ac528f2d26 Details on new maintainership (#603)
* Add details on new maintainership
* Remove checked-in autoconf outputs
* Sync & cleanup files with Detrail
* Add CI job for ensuring PrepareRelease is run
* Add Ubuntu-20.04 autoconf runner
* Make CMake installed files match autoconf
* Update acknowledgements
2024-12-11 09:53:59 +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
Philip Hazel
adab4b69d8 Expand documentation and error messages for extended character classes 2024-11-26 16:00:01 +00:00
Carlo Marcelo Arenas Belón
0d087cce82 pcre2grep: add $& as an alias for $0 (#519)
Perl does not use $0 anymore to refer to the text of the matched subject
and `pcre2_substitute()` was recently updated to also provide that value
using the variable Perl prefers: `$&`.

In a similar context, either as part of the formatted output from a match
or during the processing of a callback, teach pcre2grep to also populate
$&.

While at it, update the ChangeLog with recent changes.
2024-10-09 09:08:27 +01:00
Philip Hazel
60fd745ebc Minor documentation updates 2024-10-04 17:21:33 +01:00
Nicholas Wilson
32f03ad588 Add option to disable callouts (#499)
* Add option to disable callouts

* Fix pcre2grep issue, and docs

* Add pcre2test docs
2024-10-02 12:00:02 +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
b6d05541ae Document substitute title-casing feature 2024-09-16 17:56:54 +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
3808655ed4 Documentation update re (*THEN) 2024-09-01 17:01:38 +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
e4ccef3034 Document no support for Unicode special casing rules 2024-08-04 17:32:46 +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
4249b67c7f Document JIT allocation test feature and add to pcre2test 2024-07-24 14:53:21 +01:00
Philip Hazel
6d82f0cd3d Alter case-independent matching of \p{Lu} etc. to match Perl 2024-07-23 15:54:29 +01:00
Philip Hazel
6ae58beca0 Final file tidies for 10.44 2024-06-07 15:09:00 +01:00
Philip Hazel
067c2f1f58 Fix bug in \X matching too many characters. Fixes issue #410. 2024-06-04 17:14:47 +01:00
Philip Hazel
05aafb2e30 Implement pcre2_set_max_pattern_compiled_length() and set this limit in the fuzzer 2024-04-24 09:32:25 +01:00
Philip Hazel
cbff6bbb1b Install OpenVMS support files 2024-04-16 12:11:06 +01:00
Philip Hazel
ced3b0f06f Increase name length to 128 2024-03-11 15:50:52 +00:00
Philip Hazel
04ca5be6c1 Remove ARM v5 from supported architecture list in pcre2jit documentation 2024-02-21 16:23:28 +00:00
Philip Hazel
3864abdb71 File tidies for 10.43 2024-02-16 17:12:25 +00:00
Philip Hazel
7d59ddebb1 Implement PCRE2_DISABLE_RECURSELOOP_CHECK 2024-01-27 15:54:07 +00:00
Philip Hazel
d71e89b6ea Check documentation for double-word typos 2024-01-19 16:48:53 +00:00
Philip Hazel
7b649dce27 For the pcre2demo man page, put the source code in its own section rather than everything under NAME 2024-01-06 14:44:11 +00:00
Philip Hazel
aadef0c3b4 File tidies for 10.43-RC1 release 2023-12-28 16:34:04 +00:00
Philip Hazel
c9e03ce866 Minor doc update 2023-12-08 09:34:43 +00:00
Philip Hazel
014c82d7bc Fix data type anomaly in pcre2_substring_list_free()prototype 2023-12-02 17:09:31 +00:00
Philip Hazel
8e83acc599 Upgrade interpreter to match JIT in handling of nested pattern recursions 2023-11-30 16:05:33 +00:00
Philip Hazel
630b1cd68f Update docs to point out LDFLAGS=--static for making fully statically linked binaries 2023-11-24 14:11:55 +00:00
Philip Hazel
a0c539392d Doc update; add tests for recent patch; remove unnecessary line in pcre2grep (found by coverity) 2023-11-21 16:43:18 +00:00
Philip Hazel
eca3f2b981 Document that the POSIX API is not thread-safe. 2023-11-14 17:30:04 +00:00
Philip Hazel
52041d82e9 Fix misbehaviour of pcre2_match() and pcre2_dfa_match() when PCRE2_FIRSTLINE was set for an anchored pattern. 2023-11-11 15:59:51 +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
a0b4ee097b Update HTML docs and ChangeLog for recent patches 2023-10-09 16:55:17 +01:00
Philip Hazel
1b26eae109 Add properties Mn and Pc to the meaning of \w and its synonyms in UCP mode 2023-10-04 15:42:12 +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