Commit Graph

42 Commits

Author SHA1 Message Date
ph10
8df4984cf6 Ensure a newline after the final line in a file is output by pcre2grep. 2020-01-25 15:50:44 +00:00
ph10
4c00e57983 Source tidies (trailing spaces) etc. for 10.34-RC1. 2019-10-17 16:39:38 +00:00
ph10
aad727c420 Fix minor test issues and tidies/updates for 10.34-RC1 testing release. 2019-10-15 15:23:31 +00:00
ph10
8dd228d5ba 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
ph10
24de8f52da Add support for invalid UTF-8 matching to pcre2grep. 2019-05-28 14:14:22 +00:00
ph10
56473cd6c4 More file tidies for 10.33-RC1 2019-03-04 18:07:04 +00:00
ph10
667491b025 Redirect stderr in RunGrepTest instead of appending to testtrygrep from two
different file descriptors, because the latter doesn't always work as expected.
2018-12-06 17:13:41 +00:00
ph10
1d04bb3372 Cut out test of NUL characters in RunGrepTest for all OS except Linux, as it
doesn't work for *BSD as well as for Solaris and MacOS (which were already cut 
out).
2018-12-06 17:05:06 +00:00
ph10
b3f69214be Add --disable-pcre2grep-callout-fork configuration setting. 2018-11-17 16:45:57 +00:00
ph10
85bdc33a54 File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00
ph10
8c8f9f2b77 Patches for portability. 2018-06-20 17:05:31 +00:00
ph10
2d9da6c896 Typos in documentation and comments noted by Jason Hood. 2018-06-17 14:13:28 +00:00
ph10
ef624f64b2 Add support to pcre2grep for binary zeros in -f files. 2018-02-24 17:09:19 +00:00
ph10
c5da71a570 Fix \K issues in pcre2grep. 2017-12-26 15:10:04 +00:00
ph10
47ae0e096c Fix multiple multiline matching issues in pcre2grep. 2017-11-13 16:52:39 +00:00
ph10
4954fb42b2 Fudge binary zero pcre2grep test for Darwin, similar to SunOS. 2017-08-18 15:21:08 +00:00
ph10
98d4e61c18 Cut out the binary zero pcre2grep test on Solaris (SunOS) as it isn't possible
to check the output because sed won't handle binary zeros on Solaris.
2017-07-18 17:22:39 +00:00
ph10
f14ecb64c3 Convert pcre2grep to use new pcre2_compile() options, thereby fixing two minor
(?) bugs.
2017-06-17 11:32:06 +00:00
ph10
d1b8b13374 Implement PCRE2_NEWLINE_NUL. 2017-05-26 17:14:36 +00:00
ph10
5fa0e6724f 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
ph10
34befe1b92 Fix new test (119) for running in non-source directly. 2017-02-12 13:54:45 +00:00
ph10
c8a05255d0 Fix previously broken fix for pcre2grep with -Mo matching strings that cross
line boundaries.
2017-02-10 17:39:29 +00:00
ph10
a539f34283 Ensure user colour settings are turned off for pcre2grep testing. 2016-12-31 17:46:40 +00:00
ph10
5a32a36d4b Fix typos; unset GREP_COLO[U]R. 2016-12-29 15:57:38 +00:00
ph10
d709d81905 Add -t to pcre2grep. 2016-10-16 16:48:14 +00:00
ph10
a96905b68a Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
ph10
55101bc2d4 Documentation detrail and make HTML for 10.22-RC1. 2016-06-29 16:52:05 +00:00
ph10
2e31095370 Fix bad interaction between -o and -M in pcre2grep. 2016-06-17 17:37:26 +00:00
ph10
b16e6f7e23 Update valgrind parameters in RunGrepTest and arrange for the suppressions file
to be used when JIT is supported.
2016-05-31 11:36:10 +00:00
ph10
25944059bc Add callout support to pcre2grep 2016-04-01 15:52:08 +00:00
ph10
f9c08cb6d8 File tidies, version updates, etc. for 10.21-RC1 2015-12-17 18:44:06 +00:00
ph10
60dd91d2eb Implement #newline_default and adjust testdata and scripts to use it. 2015-09-08 17:01:17 +00:00
ph10
9ee8238748 Make -q override -l and -q in pcre2grep for compatibility with other greps. 2015-08-05 17:35:36 +00:00
ph10
60d1b8bb8f Maintenance on test after running ManyConfigTests. 2015-05-17 17:44:21 +00:00
ph10
98d8aba926 Fix pcre2grep loop provoked by \K in a lookbehind assertion in a non-anchored
pattern.
2015-04-03 11:14:19 +00:00
ph10
09deb5ee68 Changed jit_stack_alloc to jit_stack_create. 2014-11-03 17:13:00 +00:00
ph10
70f376de32 Improve test coverage; minor typo in JIT test and other minor buglets fixed. 2014-10-31 12:34:34 +00:00
ph10
8af601505d Tidy a lot of files (remove trailing spaces) 2014-10-20 17:28:49 +00:00
ph10
323a12fd52 Change --enable-pcre8 etc to --enable-pcre2-8 etc and consequent changes;
change "pcre" to "pcre2" in a number of files.
2014-10-17 15:52:57 +00:00
ph10
8d6b56dbb6 Some typos 2014-09-26 09:44:49 +00:00
ph10
92ab924d25 Check for pcre2grep's existence before testing; clean up all temporary files
afterwards.
2014-08-29 15:24:33 +00:00
ph10
0ae00b45c9 Implement pcre2grep and its test. 2014-07-15 08:46:12 +00:00