Commit Graph

289 Commits

Author SHA1 Message Date
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
Alex Dowad
64137d23e9 Add missing 'expand' modifier to list in pcre2test manpage (#458) 2024-09-04 11:48:53 +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
Carlo Marcelo Arenas Belón
c63d7c992e pcre2grep: add --posix-pattern-file for compatibility with other grep (#428)
Historically, pcre2grep has done minor processing of the patterns that
were read through the `-f` option.

The end result is that for some patterns there are different results
depending if they were provided through `-e`, `-f` or as a parameter
in the command line.

Add a flag that could be provided to skip that processing so that the
same pattern file used with other grep implementations could be used
directly for the same result.
2024-06-18 15:45:13 +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
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
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
b719b47f49 Documentation: minor update for consistency 2023-11-14 17:34:43 +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
2fef16341b Update [[:digit:]] in UCP mode to match Perl 2023-10-04 18:02:12 +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
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
Carlo Marcelo Arenas Belón
14e0c41be1 admin: update ChangeLog and config.h for recent changes (#286) 2023-08-16 16:56:34 +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
7cc9d63fd9 Update pcre2test documentation 2023-07-17 17:41:26 +01:00
Philip Hazel
044408710f Update pcre2_compile() to treat a NULL pattern with zero length as an empty string. Plus some documentation tidies. 2023-07-17 17:33:11 +01:00
Carlo Marcelo Arenas Belón
64549346f0 avoid inconsistency between \d and [:digit:] when using /a (#223)
Since a608946 (Additional PCRE2_EXTRA_ASCII_xxx code, 2023-02-01)
PCRE2_EXTRA_ASCII_BSD could be used to restrict \d to ASCII causing
the following inconsistent behaviour in UCP mode.

  PCRE2 version 10.43-DEV 2023-01-15
    re> /\d/utf,ucp,ascii_bsd
  data> ٣
  No match
  data>
  re> /[[:digit:]]/utf,ucp,ascii_bsd
  data> ٣
    0: \x{663}

It has been suggested[1] that the change to match \p{Nd} when Unicode
is enabled for [:digit:] might had been unintentional and a bug, as
[:digit:] should be able to be POSIX compatible, so add a new flag
PCRE2_EXTRA_ASCII_DIGIT to avoid changing its definition in UCP mode.

[1] https://lore.kernel.org/git/CANgJU+U+xXsh9psd0z5Xjr+Se5QgdKkjQ7LUQ-PdUULSN3n4+g@mail.gmail.com/
2023-04-09 12:29:46 +01:00
tobil4sk
1dd18c0e72 Remove pcre2_ucptables.c from sources in build doc (#216)
This file is included by pcre2_tables.c, so it should not be built
manually otherwise it causes errors.
2023-03-22 17:36:28 +00:00
Carlo Marcelo Arenas Belón
71c2748a7b pcregrep: minor documentation update (#208) 2023-02-11 14:31:32 +00:00
Philip Hazel
8385df8c97 Made PCRE2_UCP the default in UTF mode in pcre2grep, and added new options --case-restrict and --no-ucp. 2023-02-08 15:09:18 +00:00