Commit Graph

466 Commits

Author SHA1 Message Date
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
ph10
85f60e18f4 Fix global search/replace in pcre2test and pcre2_substitute() when the pattern
matches an empty string, but never at the starting offset.
2018-07-02 10:54:03 +00:00
ph10
a915362f5b Increase stack size when linking pcre2test with MSVC. 2018-06-27 16:34:06 +00:00
ph10
4f23d3f7e5 Remove previous patch, as it did not take account of read-only source
directories.
2018-06-22 15:04:01 +00:00
ph10
53042dc167 Both make systems now delete src/{pcre2.h,config.h} before starting. The
existence of these files can confuse if building is happening in another 
directory.
2018-06-21 16:13:15 +00:00
ph10
8c8f9f2b77 Patches for portability. 2018-06-20 17:05:31 +00:00
ph10
4c0df0ad31 Make stdint.h an optional inclusion, in case it's not present in some systems.
Use inttypes.h instead if it exists.
2018-06-19 17:41:01 +00:00
ph10
c9937ef4f5 Undefine WIN32 for pcre2grep under Cygwin. 2018-06-19 16:27:42 +00:00
ph10
9cec6bc395 Documentation update. 2018-06-18 16:49:12 +00:00
ph10
8c2c547183 More typos and changes to "Kibibytes" for "Kilobytes". 2018-06-18 14:03:33 +00:00
ph10
2d9da6c896 Typos in documentation and comments noted by Jason Hood. 2018-06-17 14:13:28 +00:00
ph10
2bf7dbba82 Ensure all match limit tests set a limit, don't rely on the default. 2018-04-29 15:07:44 +00:00
ph10
1c5e1560b6 Remove ctrl/Z from the input for test 6. 2018-04-28 16:05:48 +00:00
ph10
d9184094b4 Re-factor pcre2_dfa_match() to use the heap instead of the stack for workspace
vectors when doing recursive function calls.
2018-04-27 16:48:35 +00:00
ph10
153170b59d Minor code tidy. 2018-04-21 16:43:49 +00:00
ph10
b62b6516a6 Apply some of Daniel Richard G's Windows patches. 2018-04-19 16:52:57 +00:00
ph10
5404bf3db4 Set error offset zero for early errors in pcre2_pattern_convert(). 2018-03-04 15:13:37 +00:00
ph10
9c82a2af0f Add alignment patch for m68k. 2018-02-27 17:19:51 +00:00
ph10
b4212ed31c Add --enable-jit=auto support. 2018-02-25 18:00:29 +00:00
ph10
d9ba233d73 A small fix to pcre2grep to avoid compiler warnings for -Wformat-overflow=2. 2018-02-25 12:12:48 +00:00
ph10
ef624f64b2 Add support to pcre2grep for binary zeros in -f files. 2018-02-24 17:09:19 +00:00
ph10
3d534407ff Fix \C bug with repeated character classes in UTF-8 mode. 2018-02-19 17:26:33 +00:00
ph10
046527f90c Oops, forgot about "-C bsr" in previous patch. 2018-02-19 17:00:45 +00:00
ph10
c9bec6d0eb Fix pcre2test -C to correctly show what \R matches. 2018-02-19 16:55:47 +00:00
ph10
97ead62f64 Fix the value passed back for POSIX unset groups when REG_STARTEND has a
non-zero starting offset, and make pcre2test show relevant POSIX unset groups.
2018-02-19 14:49:42 +00:00
ph10
95348f719d Final file tidies for 10.31 2018-02-12 11:33:56 +00:00
ph10
52291406c9 Fix auto-possessification bug at the end of a capturing group that is called
recursively.
2018-01-31 17:53:56 +00:00
ph10
0cf324c4dc Increment dummy ovector size in internal structures to avoid spurious array
bound checker warnings. This fixes oss-fuzz 5415.
2018-01-16 16:50:40 +00:00
ph10
0aa7a0a276 Source tidies and version etc. updates for 10.31-RC1. 2018-01-13 16:53:02 +00:00
ph10
aaba4ba7de Avoid pointer overflow for unset captures in pcre2_substring_list_get(), though
it could never have caused a problem.
2018-01-12 18:48:27 +00:00
ph10
8e62158cf1 Documentation update. 2018-01-01 17:27:55 +00:00