github-actions[bot]
3e68381dae
Sync autogenerated files #noupdate
2025-02-26 22:29:20 +00:00
Nicholas Wilson
1fffb0d44e
Updates to the README and some documentation ( #681 )
2025-02-01 15:50:20 +00:00
Nicholas Wilson
f15bdd334d
Update all man page dates #noupdate ( #634 )
2024-12-18 14:12:58 +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
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
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
aadef0c3b4
File tidies for 10.43-RC1 release
2023-12-28 16:34:04 +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
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
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
Philip Hazel
7c49b40e8a
File and documentation tidies for 10.41 release
2022-12-06 15:53:25 +00:00
Philip Hazel
f1e48ebb3f
Make the pcre2demo man page more standard
2022-11-23 16:48:16 +00:00
Philip Hazel
95e76968ca
Improve LCOV coverage statistics and fix bugs that showed up in pcre2grep while doing this.
2022-08-10 16:08:34 +01:00
Philip Hazel
8b133fa0ba
Implement -Z in pcre2grep and update documentation
2022-07-30 17:41:49 +01:00
Philip Hazel
31a46200fa
Add --allow-lookaround-bsk to pcre2grep
2021-08-31 16:24:25 +01:00
Philip.Hazel
000bbf2ea7
File tidies for 10.36-RC1
2020-11-06 17:27:35 +00:00
Philip.Hazel
81da2b97e3
pcre2grep update: -m and $x{..}, $o{..} escapes. Also some doc updates.
2020-10-04 16:34:31 +00:00
Philip.Hazel
d4e4533240
Fix documentation typos and upgrade documentation checking script.
2020-04-24 16:05:36 +00:00
Philip.Hazel
8b3f8af535
File tidies for 10.35-RC1 release candidate.
2020-04-15 16:34:36 +00:00
Philip.Hazel
9e960f5465
Ensure a newline after the final line in a file is output by pcre2grep.
2020-01-25 15:50:44 +00:00
Philip.Hazel
ae9208ab7b
Source tidies (trailing spaces) etc. for 10.34-RC1.
2019-10-17 16:39:38 +00:00
Philip.Hazel
0d1ab8515f
Fix pcre2grep -o bug when ovector overflows; add option to adjust the limit;
...
raise the default limit; give error if -o requests an uncaptured parens.
2019-06-15 15:51:07 +00:00
Philip.Hazel
16d47a9cb1
Documentation update.
2019-05-30 15:43:05 +00:00
Philip.Hazel
7375089fa5
More file tidies for 10.33-RC1
2019-03-04 18:07:04 +00:00
Philip.Hazel
e7a762ddff
Documentation update.
2018-11-27 16:41:20 +00:00
Philip.Hazel
0ad7ff1549
Add --disable-pcre2grep-callout-fork configuration setting.
2018-11-17 16:45:57 +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
e75410a5d8
More typos and changes to "Kibibytes" for "Kilobytes".
2018-06-18 14:03:33 +00:00
Philip.Hazel
fabea723cf
Typos in documentation and comments noted by Jason Hood.
2018-06-17 14:13:28 +00:00
Philip.Hazel
3236d6868c
Update HTML and derived documentation.
2018-02-25 18:00:56 +00:00
Philip.Hazel
958cd1484f
Source tidies and version etc. updates for 10.31-RC1.
2018-01-13 16:53:02 +00:00
Philip.Hazel
94d5f4a050
Add callout_flags to callout blocks, and set bits within it from pcre2_match()
...
interpretation.
2017-12-22 15:56:27 +00:00
Philip.Hazel
71d0ee75d2
Derived documentation update.
2017-10-17 16:26:40 +00:00
Philip.Hazel
810d9b6da5
Code tidies for 10.30-RC1 release candidate.
2017-07-19 16:04:15 +00:00
Philip.Hazel
76a57bd839
Convert pcre2grep to use new pcre2_compile() options, thereby fixing two minor
...
(?) bugs.
2017-06-17 11:32:06 +00:00
Philip.Hazel
3d80fa4fc2
Implement PCRE2_NEWLINE_NUL.
2017-05-26 17:14:36 +00:00
Philip.Hazel
14989bd454
Add explicit heap limiting options to pcre2_match(), with associated features
...
for listing, configuring, etc.
2017-04-11 11:47:25 +00:00
Philip.Hazel
88abc14e42
Jason Hood's pcre2grep patches (modified a bit) to add --output to pcre2grep,
...
and also an inbuilt callout echo.
2017-04-06 18:02:40 +00:00
Philip.Hazel
0bf17d9974
Remove references to the now-deleted pcre2stack man page.
2017-04-01 09:38:58 +00:00
Philip.Hazel
3aeb812180
Documentation update.
2017-03-24 16:53:38 +00:00
Philip.Hazel
ca1ecd41a1
File tidies for 10.23-RC1
2017-01-16 17:40:47 +00:00
Philip.Hazel
2aec84e37e
Add pcre2_code_copy_with_tables().
2016-11-22 15:37:02 +00:00
Philip.Hazel
921636f6fc
Documentation detrail and make HTML for 10.22-RC1.
2016-06-29 16:52:05 +00:00
Philip.Hazel
afa3c56afd
Fix typo in pcre2grep documentation.
2016-06-05 16:04:38 +00:00
Philip.Hazel
4819827879
Update pcre2grep documentation to give more details of -M matching.
2015-01-03 17:40:06 +00:00
Philip.Hazel
91f2e97474
More documentation and test updates.
2014-11-23 18:38:38 +00:00
Philip.Hazel
eb4fffbbf4
More documentation and file tidies.
2014-11-21 16:45:06 +00:00
Philip.Hazel
e15b64ef03
More draft documentation.
2014-09-28 17:39:28 +00:00