Philip.Hazel
|
4677b1b0bb
|
Tidy partial matching code; prepare for possible future change.
|
2019-07-14 16:44:46 +00:00 |
Philip.Hazel
|
620f3a1307
|
Implement non-atomic positive assertions.
|
2019-07-13 11:12:03 +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
|
d5dc4e0c33
|
Tweak limits on "must have" code unit searches (improves some performance).
|
2019-05-28 16:34:28 +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
|
95c9d011e3
|
Change a number of expressions like 1<<10 to 1u<<10.
|
2019-04-12 14:40:27 +00:00 |
Philip.Hazel
|
9e4e6feee7
|
Update explanatory comment.
|
2018-11-27 10:42:59 +00:00 |
Philip.Hazel
|
8a0dd8955a
|
Set subject field in match data to NULL after failed match.
|
2018-10-19 15:31:16 +00:00 |
Philip.Hazel
|
f90ce1a333
|
Implement PCRE2_COPY_MATCHED_SUBJECT.
|
2018-10-17 08:33:38 +00:00 |
Philip.Hazel
|
866750fd53
|
Basic "script run" implementation. Not yet complete, and not yet documented.
|
2018-10-02 15:25:58 +00:00 |
Philip.Hazel
|
392974a0cb
|
File tidies and documentation update for 10.32-RC1 Release Candidate.
|
2018-08-13 11:57:09 +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
|
666e94cd59
|
Fixed atomic group backtracking bug.
|
2018-07-16 15:24:32 +00:00 |
Philip.Hazel
|
9d87fcb727
|
Patches for portability.
|
2018-06-20 17:05:31 +00:00 |
Philip.Hazel
|
e75410a5d8
|
More typos and changes to "Kibibytes" for "Kilobytes".
|
2018-06-18 14:03:33 +00:00 |
Philip.Hazel
|
fabea723cf
|
Typos in documentation and comments noted by Jason Hood.
|
2018-06-17 14:13:28 +00:00 |
Philip.Hazel
|
b26aa366ba
|
Fix \C bug with repeated character classes in UTF-8 mode.
|
2018-02-19 17:26:33 +00:00 |
Philip.Hazel
|
85f8ecba58
|
Tidy ACROSSCHAR macro to take same form as FORWARDCHAR and BACKCHAR.
|
2018-01-01 15:13:24 +00:00 |
Philip.Hazel
|
4048606896
|
Small tidy to start of match optimizations.
|
2018-01-01 15:05:27 +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
|
5cbab74c97
|
Rejig how callout blocks are allocated in pcre2_match().
|
2017-12-16 16:43:47 +00:00 |
Philip.Hazel
|
9e38537b87
|
A small code tidy for one error return.
|
2017-12-16 16:07:29 +00:00 |
Philip.Hazel
|
6f4ee08469
|
Add some casts to avoid compiler warnings.
|
2017-09-26 17:01:23 +00:00 |
Philip.Hazel
|
42f547bf4d
|
Replace multiple copies of extended grapheme sequence code with a single
subroutine.
|
2017-09-12 16:28:42 +00:00 |
Philip.Hazel
|
4f7a608d56
|
Update grapheme breaking rules for Unicode 10.0.0.
|
2017-07-05 08:55:49 +00:00 |
Philip.Hazel
|
b7d5cee61f
|
Allow anchored patterns to use "first code unit" optimization.
|
2017-06-30 16:00:33 +00:00 |
Philip.Hazel
|
f850015168
|
Add suitable "fall through" comments for latest gcc warnings.
|
2017-06-03 17:50:03 +00:00 |
Philip.Hazel
|
3d80fa4fc2
|
Implement PCRE2_NEWLINE_NUL.
|
2017-05-26 17:14:36 +00:00 |
Philip.Hazel
|
67995268cf
|
More refactoring for ovector addressing.
|
2017-05-11 16:49:58 +00:00 |
Philip.Hazel
|
cd4a219626
|
A better fix for oss-fuzz 1465.
|
2017-05-11 16:28:54 +00:00 |
Philip.Hazel
|
ab1e3c9309
|
Refactor to avoid sanitize warnings when accessing the variable size ovector in
the backtracking frame. Fixes oss-fuzz issue 1465. Also make -bigstack in
RunTest allocate a 64Mb stack for use with clang sanitizing.
|
2017-05-10 18:21:03 +00:00 |
Philip.Hazel
|
1909bf0691
|
Refactor to avoid picky compiler warnings. Fixes oss-fuzz issue 1454.
|
2017-05-10 16:44:33 +00:00 |
Philip.Hazel
|
b3a6fd38b8
|
Tidy comments about UTF case-independence.
|
2017-04-20 16:51:36 +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 |
Philip.Hazel
|
106028089e
|
Ensure ovector[0,1] are both PCRE2_UNSET during callouts.
|
2017-04-14 12:39:41 +00:00 |
Philip.Hazel
|
3b8672bf49
|
Fix ACCEPT issue with ENDANCHORED.
|
2017-04-11 14:53:26 +00:00 |
Philip.Hazel
|
14989bd454
|
Add explicit heap limiting options to pcre2_match(), with associated features
for listing, configuring, etc.
|
2017-04-11 11:47:25 +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 |
Philip.Hazel
|
fcd0c39b26
|
Fix capturing in conditional negative assertions ended with (*ACCEPT).
|
2017-04-03 18:02:07 +00:00 |
Philip.Hazel
|
649ae8f6d5
|
Fix bug introduced at 10.21: use memory allocator from the pattern if no
context is supplied to pcre2_match().
|
2017-03-25 15:19:49 +00:00 |
Philip.Hazel
|
45ddeb70cf
|
Fix issues with (*VERB)s inside recursive subroutine calls.
|
2017-03-23 17:54:58 +00:00 |
Philip.Hazel
|
be5dd257d2
|
Add cast to avoid compiler warning.
|
2017-03-14 16:46:08 +00:00 |
Philip.Hazel
|
88db1be123
|
Change "limit recursion" to "limit depth" in code and build systems because the
old name, which is retained as a synonym for the moment, is no longer
appropriate.
|
2017-03-12 13:47:01 +00:00 |
Philip.Hazel
|
04da0725f3
|
Remove obsolete OP_ONCE_NC internal opcode.
|
2017-03-11 17:59:23 +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
|
143c136ac6
|
Fix oss-fuzz issue 781: read from bad memory when fewer capturing parens than
space in the external ovector.
|
2017-03-10 15:53:49 +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 |