Philip.Hazel
|
bfad956b34
|
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 |
Philip.Hazel
|
59c2175ed9
|
Fix anchoring bug in conditionals with only one branch.
|
2018-09-02 16:53:29 +00:00 |
Philip.Hazel
|
6e245572b8
|
Add support for (?^) as now supported by Perl.
|
2018-07-28 16:23:24 +00:00 |
Philip.Hazel
|
a9453f096f
|
Give specific error for \F as for \L, \U etc.
|
2018-07-27 16:55:52 +00:00 |
Philip.Hazel
|
5ea9f6b0f1
|
Some places where the new opcode OP_COMMIT_ARG needs to be handled and which I
forgot.
|
2018-07-21 14:52:26 +00:00 |
Philip.Hazel
|
192b82cf6e
|
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 |
Philip.Hazel
|
a0e367f5b6
|
Update Perl tester to allow for optimization to be turned off. Required moving
some tests out of the Perl-compatible files.
|
2018-07-14 16:16:51 +00:00 |
Philip.Hazel
|
50aa69657e
|
Fix bug in VERSION number reading.
|
2018-07-02 12:26:04 +00:00 |
Philip.Hazel
|
b2294373d7
|
Ignore qualifiers on lookaheads within lookbehinds when checking for a fixed
length.
|
2018-07-02 11:23:45 +00:00 |
Philip.Hazel
|
1c79bdf36f
|
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 |
Philip.Hazel
|
89c2a02027
|
Fix bug when \K is used in a lookbehind in a substitute pattern.
|
2018-06-22 16:29:56 +00:00 |
Philip.Hazel
|
53a588431c
|
Fix auto-possessification bug at the end of a capturing group that is called
recursively.
|
2018-01-31 17:53:56 +00:00 |
Zoltán Herczeg
|
940627c83a
|
Fix a typo in JIT and add a test.
|
2018-01-10 09:28:03 +00:00 |
Philip.Hazel
|
807f37095d
|
Previous FIRSTLINE patch was broken. Fix it.
|
2018-01-01 14:54:06 +00:00 |
Philip.Hazel
|
7a6e8a4454
|
Fix PCRE2_FIRSTLINE bug when a pattern match starts with the first code unit of
a newline sequence.
|
2018-01-01 14:12:35 +00:00 |
Philip.Hazel
|
94d5f4a050
|
Add callout_flags to callout blocks, and set bits within it from pcre2_match()
interpretation.
|
2017-12-22 15:56:27 +00:00 |
Philip.Hazel
|
814cc96bc5
|
Save extra compile options with the compiled pattern, and add an info call to
retrieve them.
|
2017-12-16 17:49:26 +00:00 |
Philip.Hazel
|
59d85d7b55
|
Fix incorrect first matching character when a backreference with zero minimum
repeat starts a pattern (possibly after assertions).
|
2017-12-12 15:01:51 +00:00 |
Philip.Hazel
|
4d82a61d47
|
Hyphen at the end of a character class is always literal. Give error for false
range after \d etc.
|
2017-07-29 15:54:04 +00:00 |
Philip.Hazel
|
810d9b6da5
|
Code tidies for 10.30-RC1 release candidate.
|
2017-07-19 16:04:15 +00:00 |
Philip.Hazel
|
b7d5cee61f
|
Allow anchored patterns to use "first code unit" optimization.
|
2017-06-30 16:00:33 +00:00 |
Philip.Hazel
|
a083420cac
|
Implement PCRE2_EXTRA_MATCH_LINE and PCRE2_EXTRA_MATCH_WORD for the benefit
of pcre2grep.
|
2017-06-16 17:51:13 +00:00 |
Philip.Hazel
|
c4fac10bad
|
Implement PCRE2_LITERAL and REG_NOSPEC.
|
2017-06-15 16:41:44 +00:00 |
Philip.Hazel
|
e3a0f22349
|
Implement PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL.
|
2017-06-01 18:10:15 +00:00 |
Philip.Hazel
|
3d80fa4fc2
|
Implement PCRE2_NEWLINE_NUL.
|
2017-05-26 17:14:36 +00:00 |
Philip.Hazel
|
369d82e03a
|
Implement Perl's /n option, which is the same as PCRE2_NO_AUTO_CAPTURE.
|
2017-04-18 16:21:50 +00:00 |
Philip.Hazel
|
3dca43fdff
|
Implement PCRE2_EXTENDED_MORE and friends.
|
2017-04-18 12:32:52 +00:00 |
Philip.Hazel
|
202cb2cf41
|
Improve testing coverage with updates to pcre2test and test files; also get rid
of redundant code in pcre2_match().
|
2017-04-16 13:03:30 +00:00 |
Zoltán Herczeg
|
1379a48d94
|
Support end anchored in JIT.
|
2017-04-13 11:52:36 +00:00 |
Philip.Hazel
|
3b8672bf49
|
Fix ACCEPT issue with ENDANCHORED.
|
2017-04-11 14:53:26 +00:00 |
Philip.Hazel
|
09f87cbfce
|
Extend auto-anchoring to ignore "never-obeyed" groups at the start.
|
2017-04-07 08:46:29 +00:00 |
Philip.Hazel
|
a3275d1e0f
|
Implement PCRE2_ENDANCHORED.
|
2017-04-04 17:09:33 +00:00 |
Philip.Hazel
|
0757041114
|
Fix non-passing of mark values out of recursions.
|
2017-04-04 11:37:21 +00:00 |
Zoltán Herczeg
|
25cec7a966
|
Support full ovector data for JIT callouts.
|
2017-03-25 06:33:41 +00:00 |
Philip.Hazel
|
39d9294d14
|
Move some tests back into test 1 now that JIT has been updated.
|
2017-03-24 18:40:15 +00:00 |
Philip.Hazel
|
45ddeb70cf
|
Fix issues with (*VERB)s inside recursive subroutine calls.
|
2017-03-23 17:54:58 +00:00 |
Philip.Hazel
|
cde5f12cee
|
Fix 32-bit error buffer size bug in pcre2test (Bugzilla 2079).
|
2017-03-21 17:46:21 +00:00 |
Zoltán Herczeg
|
131209e22d
|
Capture control verbs inside the conditional assertion of a conditional block.
|
2017-03-20 10:41:13 +00:00 |
Zoltán Herczeg
|
b55ef12cc1
|
Reworked the recursive pattern matching in the JIT compiler to follow the interpreter changes.
|
2017-03-19 03:35:27 +00:00 |
Philip.Hazel
|
d7da2dcb37
|
Fix crash for forward reference in lookbehind with PCRE2_ANCHORED. Fixes
oss-fuzz issue 865.
|
2017-03-16 17:17:47 +00:00 |
Philip.Hazel
|
26e92bc554
|
Fix crash for pattern with very many captures. Fixes oss-fuzz issue 783.
|
2017-03-10 16:34:54 +00:00 |
Philip.Hazel
|
20804215a8
|
Code for new interpreter (build system and documentation still to be done).
|
2017-03-09 16:23:28 +00:00 |
Philip.Hazel
|
f6f7c9148f
|
Check malloc returns in pcre2test.
|
2017-02-23 17:05:43 +00:00 |
Philip.Hazel
|
3fb194afa4
|
Cache group minima to speed up studying of pathological patterns. Fixes
oss-fuzz #557.
|
2017-02-10 16:33:15 +00:00 |
Philip.Hazel
|
4311f49d0e
|
Fix \g+ bug when the number that follows is too big.
|
2017-01-31 17:15:30 +00:00 |
Philip.Hazel
|
62659dd2f3
|
Add callout_error to pcre2test and stop the fuzzer after 100 callouts.
|
2016-12-28 15:05:48 +00:00 |
Philip.Hazel
|
f676362977
|
Fix issue with \Q\E after a callout before an assertion condition.
|
2016-12-28 12:26:12 +00:00 |
Philip.Hazel
|
fdf7946ee0
|
Fail hyphen after POSIX character class.
|
2016-12-27 11:50:28 +00:00 |
Philip.Hazel
|
6c48775955
|
Fix mis-parsing of a conditional group with callout but a question mark where
the assertion should start.
|
2016-12-23 18:34:10 +00:00 |
Philip.Hazel
|
d15aab4d17
|
More refactoring: keep track of empty branches during compiling, replacing a
post-compile scan.
|
2016-12-23 17:09:37 +00:00 |