Commit Graph

1141 Commits

Author SHA1 Message Date
ph10
82771b4fb6 Fix typo in test data comment. 2019-08-01 16:42:36 +00:00
ph10
9020e977ea Minor upgrade to pcre2test and comment in ucptest. 2019-07-30 17:59:42 +00:00
ph10
2e50144a50 Documentation update. 2019-07-29 16:19:58 +00:00
ph10
710676119d Avoid compiler warnings for this maintenance test program. 2019-07-29 16:10:31 +00:00
ph10
ff1cf824e4 Remove incorrect comment. 2019-07-29 16:03:25 +00:00
ph10
d5702f9917 Upgrade to Unicode 12.1.0 2019-07-29 15:32:36 +00:00
ph10
d2334db3e4 Correct tables argument data type for pcre2_set_character_tables() and fix
documentation for pcre2_maketables().
2019-07-28 15:58:24 +00:00
ph10
f5914f28c6 Documentation and test update. 2019-07-28 15:32:11 +00:00
ph10
3dce3f0dbb (*ACCEPT) at start of branch was not recording "may match empty string". 2019-07-23 16:58:57 +00:00
zherczeg
b1fb07001d Follow the partial matching changes in JIT. 2019-07-23 12:34:58 +00:00
ph10
f1174f1f79 More partial match tweaks. 2019-07-22 16:30:44 +00:00
ph10
2f19f2ed8d Documentation typo fixes. 2019-07-22 11:05:19 +00:00
ph10
523758cea2 Update definition of partial match and fix \z and \Z (as documented). 2019-07-21 16:48:13 +00:00
ph10
704b76bc3f Update pcre2demo with match_data block size information. 2019-07-19 15:31:54 +00:00
ph10
587d25b5a8 Fix bug in recent patch for lookbehinds within lookaheads. Fixes ClusterFuzz
15933.
2019-07-18 17:20:29 +00:00
zherczeg
fd6fe92ac3 Rework alternative matching in JIT. 2019-07-18 06:11:04 +00:00
zherczeg
19af2ff87d JIT compiler update. 2019-07-17 07:05:48 +00:00
ph10
585e5fdc2d Check start code unit bit map for setting minimum length. 2019-07-16 16:16:45 +00:00
ph10
03e7f4b837 Implemented pcre2_get_match_data_size(). 2019-07-16 15:50:09 +00:00
ph10
49d86ff772 Fix lookbehind within lookahead within lookbehind misbehaviour bug. 2019-07-16 15:06:21 +00:00
ph10
a8da5bbe37 Fix oversights in recent non-atomic assertions patch. Fixes ClusterFuzz 15837. 2019-07-15 16:04:13 +00:00
ph10
830d7a3ee7 Tidy partial matching code; prepare for possible future change. 2019-07-14 16:44:46 +00:00
ph10
98226a5dd2 Implement non-atomic positive assertions. 2019-07-13 11:12:03 +00:00
zherczeg
a6865a111b Improve non-virtual register usage in JIT. 2019-07-10 14:57:43 +00:00
ph10
9d4101e8e9 In perltest.sh, show Perl version in current conventional format. 2019-07-09 14:20:45 +00:00
ph10
e00172d8d8 Additional overflow test. 2019-07-05 15:49:37 +00:00
ph10
f6611018d0 Check for integer overflow when computing lookbehind lengths. Fixes Clusterfuzz
issue 13656.
2019-07-04 17:01:53 +00:00
ph10
8d22c2be34 Give error for zero timing argument to pcre2test. 2019-07-03 17:15:37 +00:00
ph10
59b1f5a57f Fix bugs in recent patch for setting the maximum lookbehind. 2019-06-28 16:58:08 +00:00
ph10
a5accce979 Fix partial matching bug in pcre2_dfa_match(). 2019-06-26 16:13:28 +00:00
ph10
a65849e909 Make pcre2test show actual pre-match consulted characters for a partial match,
not the length of the longest lookbehind. Control this by "allusedtext".
2019-06-26 08:23:47 +00:00
ph10
406b9611bd Improve maximum lookbehind calculation for nested lookbehinds. 2019-06-25 15:40:42 +00:00
zherczeg
72e1b60b04 Mixing SSE2 instructions in JIT. 2019-06-25 09:29:37 +00:00
zherczeg
e0170d8cab Improve SSE2 optimiztions in JIT. 2019-06-25 06:11:14 +00:00
ph10
6c8484b927 Documentation update. 2019-06-22 16:36:15 +00:00
ph10
86c578b801 Documentation update. 2019-06-21 16:10:17 +00:00
ph10
cfe332e781 Update tests. 2019-06-20 17:19:13 +00:00
ph10
22ea119045 Typo in doc and update tests 2019-06-20 16:37:30 +00:00
ph10
96f97610cf Documentation update. 2019-06-20 16:28:57 +00:00
ph10
844204103f Documentation update. 2019-06-20 15:50:21 +00:00
ph10
58a35c8c04 Minor code and comment tidies. 2019-06-19 16:39:18 +00:00
ph10
344fa86106 Don't ignore {1}+ when it is applied to a parenthesized item. 2019-06-19 16:27:50 +00:00
ph10
c981feb45b Fix minimum length bug for patterns containing (*ACCEPT). 2019-06-18 16:07:43 +00:00
zherczeg
ea7e601f2a Improve first character search in JIT (BSF instruction is slow). 2019-06-18 08:29:43 +00:00
ph10
64e0f37d36 Another extension to minimum length calculation. 2019-06-17 16:26:44 +00:00
ph10
770fd48acd Improve minimum length finder in the presence of back references when there are
multiple groups with the same number.
2019-06-16 15:37:45 +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
0a0e1c8958 Another fix to the recent (*ACCEPT) patch. Fixes clusterfuzz 15242. 2019-06-14 15:44:57 +00:00
ph10
9b8f99ec99 Make pcre2_match() return (*MARK) names from successful conditional assertions,
as Perl and the JIT do.
2019-06-13 16:49:40 +00:00
ph10
0804b59736 Minor improvement to minimum length calculation. 2019-06-13 16:00:11 +00:00