Commit Graph

496 Commits

Author SHA1 Message Date
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
72542e3c19 Fix non-recognition of anchoring when preceded by (*MARK) etc. 2018-11-27 16:00:58 +00:00
zherczeg
59a449d6b9 Improve MAP_JIT flag usage on MacOS. Patch by Rich Siegel. 2018-11-25 17:11:52 +00:00
ph10
1b9f34cfdd Add VMS support for pcre2grep callout of an external program. 2018-11-24 16:31:10 +00:00
ph10
7ff9b0382f Fix two instances of <= 0 being applied to unsigned integers. 2018-11-17 16:59:39 +00:00
ph10
b3f69214be Add --disable-pcre2grep-callout-fork configuration setting. 2018-11-17 16:45:57 +00:00
ph10
06676b259f Implement --disable-percent-zt to avoid %zu and %td even if the environment
claims to be C99 or greater.
2018-11-15 18:09:02 +00:00
ph10
14aaf5e8c6 Unconditionally use inttypes.h instead of trying for stdint.h (simplification)
and remove the now unnecessary inclusion in pcre2_internal.h.
2018-11-14 16:59:19 +00:00
ph10
648dbc9708 Update VMS-specific code in pcre2test, on the advice of a VMS user. 2018-11-09 18:10:25 +00:00
ph10
c202dd697e Add pcre2_jit_free_unused_memory() to pcre2grep, for tidiness. 2018-10-28 17:27:48 +00:00
ph10
3e3b226ebd Add "kibibytes" to the output of pcre2test -C to show the units of the heap
limit.
2018-10-22 16:56:11 +00:00
ph10
f458930309 Fix heap limit checking overflow bug in pcre2_dfa_match(). 2018-10-22 16:47:55 +00:00
ph10
894a82db17 Fix zero-repeated subroutine call at start of pattern bug, which recorded an
incorrect first code unit.
2018-10-20 09:28:02 +00:00
ph10
990a58464f Set subject field in match data to NULL after failed match. 2018-10-19 15:31:16 +00:00
ph10
5e94fcc35a Implement PCRE2_COPY_MATCHED_SUBJECT. 2018-10-17 08:33:38 +00:00
ph10
75b90b66eb Fix typos in code for alphabetic ranges in EBCDIC environments. 2018-10-15 11:01:24 +00:00
ph10
385a905e3f Documentation and tests update for script runs. 2018-10-12 17:02:34 +00:00
ph10
08469ee67b Update Script Run code to use the Script Extension property instead of the
Script property.
2018-10-09 16:42:21 +00:00
ph10
c6c2308c01 Basic "script run" implementation. Not yet complete, and not yet documented. 2018-10-02 15:25:58 +00:00
ph10
202311b568 Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
2018-09-24 16:23:53 +00:00
ph10
3f42c5f14d Implement PCRE2_EXTRA_ESCAPED_CR_IS_LF 2018-09-21 16:59:48 +00:00
zherczeg
2fb36bd048 Fix an xclass matching issue in JIT. 2018-09-21 07:24:34 +00:00
ph10
56332e7ac3 Provide alternative POSIX names. 2018-09-19 16:33:09 +00:00
ph10
1a030c42df Implement callouts from pcre2_substitute(). 2018-09-18 16:31:30 +00:00
zherczeg
6f14339397 Fix subject buffer overread in JIT. Found by Yunho Kim. 2018-09-18 10:19:14 +00:00
ph10
6fea58392e Add "allvector" to pcre2test. 2018-09-15 17:10:39 +00:00
ph10
ebc9edb2bf Final file tidies for 10.32 2018-09-11 14:27:39 +00:00
ph10
e1215b2f5c Fix small bug in pcre2grep (no effect other than a sanitizer warning). 2018-09-10 17:34:19 +00:00
ph10
7ce165bc09 Minor code fix to avoid static analyzer complaint. 2018-09-06 15:59:11 +00:00
ph10
2f383e6e0f Treat empty-string-matching repeated conditionals the same as ordinary ones
when checking for an anchored pattern.
2018-09-03 15:20:40 +00:00
ph10
a4498fca10 Fix anchoring bug in conditionals with only one branch. 2018-09-02 16:53:29 +00:00
ph10
8b9f137eb1 Lock out \N{U+hhhh} in non-UTF (non-Unicode) modes. 2018-09-02 16:03:27 +00:00
ph10
acf6058869 Fix typo in Makefile.am, which caused testoutput8-16-4 to be omitted from
tarballs.
2018-08-29 08:26:29 +00:00
ph10
5852de1301 Tidy unnecessarily complicated macros in escapes table. 2018-08-19 16:54:41 +00:00
ph10
07190e1225 Remove unused character flag ctype_meta, no longer used. 2018-08-19 15:44:06 +00:00
ph10
337992276e Fix bad auto-possessification of certain types of class. 2018-08-17 14:45:35 +00:00
ph10
3fbc213c3b Zero pointers in serialized patterns, for consistency. 2018-08-15 18:03:29 +00:00
ph10
85bdc33a54 File tidies and documentation update for 10.32-RC1 Release Candidate. 2018-08-13 11:57:09 +00:00
ph10
cdc80024d4 Make bcopy() emulation of memmove() work properly. 2018-08-10 16:27:44 +00:00
ph10
b679caf2b7 Fix dynamic options changing bug. 2018-08-04 08:20:18 +00:00
ph10
f37554f550 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
ph10
f1908320bc Add support for (?^) as now supported by Perl. 2018-07-28 16:23:24 +00:00
ph10
ec3fdbf935 Add support for \N{U+dd...}, for ASCII and Unicode modes only. 2018-07-27 16:30:40 +00:00
ph10
3cb83842ad 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
ph10
3ad5652e35 Upgrade perltest.sh to support (some) #pattern modifiers. 2018-07-17 16:00:09 +00:00
ph10
59c5ff95d4 Fixed atomic group backtracking bug. 2018-07-16 15:24:32 +00:00
ph10
49e737075f Update to Unicode 11.0.0 2018-07-07 16:10:29 +00:00
ph10
f391b600bb Fix bug in VERSION number reading. 2018-07-02 12:26:04 +00:00
ph10
0221374b9a Ignore qualifiers on lookaheads within lookbehinds when checking for a fixed
length.
2018-07-02 11:23:45 +00:00