Philip.Hazel
|
620f3a1307
|
Implement non-atomic positive assertions.
|
2019-07-13 11:12:03 +00:00 |
Philip.Hazel
|
2e06fdcdc1
|
Check for integer overflow when computing lookbehind lengths. Fixes Clusterfuzz
issue 13656.
|
2019-07-04 17:01:53 +00:00 |
Philip.Hazel
|
a5c601091e
|
Give error for zero timing argument to pcre2test.
|
2019-07-03 17:15:37 +00:00 |
Philip.Hazel
|
c0d0ee5365
|
Fix partial matching bug in pcre2_dfa_match().
|
2019-06-26 16:13:28 +00:00 |
Philip.Hazel
|
434e3f7468
|
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 |
Philip.Hazel
|
d21f7daf9b
|
Improve maximum lookbehind calculation for nested lookbehinds.
|
2019-06-25 15:40:42 +00:00 |
Philip.Hazel
|
da5155fed3
|
Don't ignore {1}+ when it is applied to a parenthesized item.
|
2019-06-19 16:27:50 +00:00 |
Philip.Hazel
|
ef79b978a6
|
Fix minimum length bug for patterns containing (*ACCEPT).
|
2019-06-18 16:07:43 +00:00 |
Philip.Hazel
|
1ebc2c50cc
|
Another extension to minimum length calculation.
|
2019-06-17 16:26:44 +00:00 |
Philip.Hazel
|
ead78198d1
|
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 |
Philip.Hazel
|
0d1ab8515f
|
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 |
Philip.Hazel
|
49f174ef78
|
Make pcre2_match() return (*MARK) names from successful conditional assertions,
as Perl and the JIT do.
|
2019-06-13 16:49:40 +00:00 |
Philip.Hazel
|
1f6b9097f4
|
Minor improvement to minimum length calculation.
|
2019-06-13 16:00:11 +00:00 |
Philip.Hazel
|
306f2b9c57
|
Allow (*ACCEPT) to be quantified.
|
2019-06-10 16:41:22 +00:00 |
Philip.Hazel
|
d5dc4e0c33
|
Tweak limits on "must have" code unit searches (improves some performance).
|
2019-05-28 16:34:28 +00:00 |
Philip.Hazel
|
4f31de2866
|
Add support for invalid UTF-8 matching to pcre2grep.
|
2019-05-28 14:14:22 +00:00 |
Philip.Hazel
|
16c046ce50
|
Implement support for invalid UTF in the pcre2_match() interpreter.
|
2019-05-24 17:15:48 +00:00 |
Philip.Hazel
|
e118e60a68
|
Fix crash when \X is used without UTF in JIT.
|
2019-05-13 16:26:17 +00:00 |
Zoltán Herczeg
|
274efb8ded
|
Improved the invalid utf32 support of the JIT compiler.
|
2019-05-10 13:15:20 +00:00 |
Philip.Hazel
|
16de9003e5
|
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 |
Philip.Hazel
|
4e4f273f07
|
Final file tidies for 10.33.
|
2019-04-16 15:34:27 +00:00 |
Philip.Hazel
|
95c9d011e3
|
Change a number of expressions like 1<<10 to 1u<<10.
|
2019-04-12 14:40:27 +00:00 |
Zoltán Herczeg
|
590bc16842
|
Disable SSE2 JIT optimizations in x86 CPUs when SSE2 is not available.
|
2019-03-25 14:10:24 +00:00 |
Philip.Hazel
|
e85de98d0a
|
Fix crash in pcre2_substitute() with NULL match context.
|
2019-03-11 17:29:08 +00:00 |
Philip.Hazel
|
7375089fa5
|
More file tidies for 10.33-RC1
|
2019-03-04 18:07:04 +00:00 |
Philip.Hazel
|
02ff543f9c
|
Final file tidies for 10.33-RC1
|
2019-03-04 18:04:44 +00:00 |
Philip.Hazel
|
473d8f95d7
|
Fix --enable-jit=auto for out-of-tree builds.
|
2019-03-01 16:19:49 +00:00 |
Philip.Hazel
|
4fd8932e83
|
Try to fix CMake old policy warning issue.
|
2019-02-16 11:58:37 +00:00 |
Zoltán Herczeg
|
1b95f98f95
|
Compile invalid UTF check in JIT test when only pcre32 is enabled.
|
2019-02-14 07:33:57 +00:00 |
Philip.Hazel
|
255f5e741b
|
Compile \p{Any} the same as . in DOTALL mode, to benefit from auto-anchoring.
|
2019-02-13 17:30:24 +00:00 |
Philip.Hazel
|
8c8deae8eb
|
Implement PCRE2_EXTRA_ALT_BSUX to support ECMAscript 6's \u{hhh..} syntax.
|
2019-02-12 17:50:19 +00:00 |
Philip.Hazel
|
45959f1eec
|
Fix small bug in new Unicode group name logic.
|
2019-02-07 17:29:50 +00:00 |
Philip.Hazel
|
d7b10a57d1
|
Allow non-ASCII in group names when UTF is set; revise group naming terminology
in documentation to use "capture group", as Perl does.
|
2019-02-06 18:11:36 +00:00 |
Philip.Hazel
|
ae913fbee7
|
Update POSIX wrapper to use macros in the .h file, but also have the POSIX
function names in the library.
|
2019-01-30 16:11:16 +00:00 |
Philip.Hazel
|
86349f8814
|
Fix bug in VERSION conditional test in DFA matching.
|
2019-01-29 14:34:59 +00:00 |
Zoltán Herczeg
|
d38c7f7e8d
|
Fix word boundary in JIT compiler. Patch by Mike Munday.
|
2019-01-17 11:47:59 +00:00 |
Philip.Hazel
|
7de013bac3
|
Fix issues with BAD_ESCAPE_IS_LITERAL in character classes.
|
2019-01-04 16:41:32 +00:00 |
Philip.Hazel
|
9938684b7b
|
Cast to get rid of compiler warning.
|
2018-12-14 16:02:29 +00:00 |
Philip.Hazel
|
ed63958dad
|
Make RunTest check stack settablility using the -bigstack value.
|
2018-12-07 16:32:05 +00:00 |
Philip.Hazel
|
0448b486e9
|
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 |
Philip.Hazel
|
8f1727af98
|
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 |
Philip.Hazel
|
0b64d9cfca
|
Fix non-recognition of anchoring when preceded by (*MARK) etc.
|
2018-11-27 16:00:58 +00:00 |
Zoltán Herczeg
|
57f1eca640
|
Improve MAP_JIT flag usage on MacOS. Patch by Rich Siegel.
|
2018-11-25 17:11:52 +00:00 |
Philip.Hazel
|
8187224514
|
Add VMS support for pcre2grep callout of an external program.
|
2018-11-24 16:31:10 +00:00 |
Philip.Hazel
|
cd73c9319e
|
Fix two instances of <= 0 being applied to unsigned integers.
|
2018-11-17 16:59:39 +00:00 |
Philip.Hazel
|
0ad7ff1549
|
Add --disable-pcre2grep-callout-fork configuration setting.
|
2018-11-17 16:45:57 +00:00 |
Philip.Hazel
|
149af0e21b
|
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 |
Philip.Hazel
|
19c50b9d41
|
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 |
Philip.Hazel
|
900f457222
|
Update VMS-specific code in pcre2test, on the advice of a VMS user.
|
2018-11-09 18:10:25 +00:00 |
Philip.Hazel
|
66cd7df514
|
Add pcre2_jit_free_unused_memory() to pcre2grep, for tidiness.
|
2018-10-28 17:27:48 +00:00 |