Commit Graph

1117 Commits

Author SHA1 Message Date
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
ph10
a4d1257a9f Fix minor oversight in previous patch. Fixes clusterfuzz 15199. 2019-06-11 07:37:29 +00:00
ph10
e3feb34e18 Allow (*ACCEPT) to be quantified. 2019-06-10 16:41:22 +00:00
zherczeg
59604bb627 Improve single character iterators, add special path to dotall. 2019-06-07 13:48:59 +00:00
ph10
dd9b0b35f4 Documentation update. 2019-06-03 16:39:20 +00:00
ph10
e6ce4c7964 Documentation update. 2019-05-30 15:43:05 +00:00
ph10
2272c4b452 Tweak limits on "must have" code unit searches (improves some performance). 2019-05-28 16:34:28 +00:00
ph10
24de8f52da Add support for invalid UTF-8 matching to pcre2grep. 2019-05-28 14:14:22 +00:00
ph10
6e3c7bd39e Fix previous patch for non-JIT compilation. 2019-05-25 16:31:38 +00:00
ph10
df13a172d5 Implement support for invalid UTF in the pcre2_match() interpreter. 2019-05-24 17:15:48 +00:00
zherczeg
98da871009 Rework word boundary in JIT. 2019-05-23 07:46:10 +00:00
ph10
a6be1b3e5a Forgot this file in previous commit. Fixes JIT non-UTF bug. 2019-05-13 16:38:18 +00:00
ph10
a5fd29b912 Fix crash when \X is used without UTF in JIT. 2019-05-13 16:26:17 +00:00
ph10
570c2ac872 Fix typo. 2019-05-11 11:43:39 +00:00
zherczeg
f49e12c148 Improved the invalid utf32 support of the JIT compiler. 2019-05-10 13:15:20 +00:00
ph10
ac5f127ddb Implement a check on the number of capturing parentheses, which for some reason
has never existed. This fixes ClusterFuzz issue 14376.
2019-04-22 12:39:38 +00:00
ph10
fae3cecf44 Final file tidies for 10.33. 2019-04-16 15:34:27 +00:00
ph10
d535a186bb Casts and rewrites to avoid clang sanitize warnings. 2019-04-16 14:49:07 +00:00
zherczeg
1c7a2906e6 Negate signed shift warnings. 2019-04-16 08:57:10 +00:00
ph10
3e3c428b5a Change a number of expressions like 1<<10 to 1u<<10. 2019-04-12 14:40:27 +00:00
zherczeg
7baa23b364 Disable SSE2 JIT optimizations in x86 CPUs when SSE2 is not available. 2019-03-25 14:10:24 +00:00
ph10
673daf6692 Fix crash in pcre2_substitute() with NULL match context. 2019-03-11 17:29:08 +00:00
ph10
bdf761a7bf Documentation update re PCRE2_JIT_INVALID_UTF 2019-03-06 17:38:20 +00:00
ph10
56473cd6c4 More file tidies for 10.33-RC1 2019-03-04 18:07:04 +00:00
ph10
29bdf92c1c Final file tidies for 10.33-RC1 2019-03-04 18:04:44 +00:00