Philip.Hazel
|
3fb01b0443
|
Ensure all match limit tests set a limit, don't rely on the default.
|
2018-04-29 15:07:44 +00:00 |
Philip.Hazel
|
fb15b37b2c
|
Remove ctrl/Z from the input for test 6.
|
2018-04-28 16:05:48 +00:00 |
Philip.Hazel
|
75747ebb11
|
Re-factor pcre2_dfa_match() to use the heap instead of the stack for workspace
vectors when doing recursive function calls.
|
2018-04-27 16:48:35 +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
|
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
|
c0902e176f
|
Make pcre2_dfa_match() take notice of the match limit, to catch patterns that
use too much resource. This should fix oss-fuzz 1761.
|
2017-05-30 10:42:57 +00:00 |
Philip.Hazel
|
3f96e07e6b
|
Fix lookbehind with zero-length branch in DFA matching. Fixes oss-fuzz 1959.
|
2017-05-27 15:49:29 +00:00 |
Philip.Hazel
|
3d80fa4fc2
|
Implement PCRE2_NEWLINE_NUL.
|
2017-05-26 17:14:36 +00:00 |
Philip.Hazel
|
59c461817e
|
Add endanchored tests for DFA matching.
|
2017-04-05 15:32:07 +00:00 |
Philip.Hazel
|
5c1984d94a
|
Make \=find_limits apply to DFA matching, to find the minimum depth limit.
|
2017-03-24 18:20:34 +00:00 |
Philip.Hazel
|
d5ca2dee9d
|
Fix misbehaving DFA match for possessively repeated character class (Bugzilla
2086).
|
2017-03-22 15:12:06 +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
|
20804215a8
|
Code for new interpreter (build system and documentation still to be done).
|
2017-03-09 16:23:28 +00:00 |
Philip.Hazel
|
84601d910b
|
Reduce stack requirements for test 6.
|
2017-01-02 16:15:11 +00:00 |
Philip.Hazel
|
1f87b60f01
|
Make the recursion limit apply to DFA matching.
|
2016-12-23 11:04:51 +00:00 |
Philip.Hazel
|
99264dfc23
|
Major refactoring of pcre2_compile.c; see ChangeLog and HACKING.
|
2016-10-02 16:01:01 +00:00 |
Philip.Hazel
|
6a5acedf08
|
Ignore "allcaptures" after DFA matching.
|
2016-07-06 15:02:24 +00:00 |
Philip.Hazel
|
8febd27344
|
Two pcre2test extensions: quoted literal substrings in hex patterns and
detection of unsupported binary zeros in file input.
|
2016-01-29 18:16:59 +00:00 |
Philip.Hazel
|
3263d44b97
|
Implement --never-backslash-C
|
2015-10-17 13:50:56 +00:00 |
Philip.Hazel
|
0c70fb3013
|
Add null_context to pcre2test for testing NULL contexts.
|
2015-09-23 11:49:03 +00:00 |
Philip.Hazel
|
69d61e2fdb
|
Implement PCRE2_USE_OFFSET_LIMIT and pcre2_set_offset_limit(). No documentation
yet.
|
2015-09-22 11:24:28 +00:00 |
Philip.Hazel
|
be7366f6f0
|
Tidied up a lot of comments in the test files.
|
2015-09-16 16:49:48 +00:00 |
Philip.Hazel
|
bb68c64c40
|
Implement #newline_default and adjust testdata and scripts to use it.
|
2015-09-08 17:01:17 +00:00 |
Philip.Hazel
|
d1a13b8e2e
|
Implement PCRE2_ALT_CIRCUMFLEX.
|
2015-04-22 17:39:25 +00:00 |
Philip.Hazel
|
a4ceadbf47
|
Fix bugs when (?!) is used as a condition.
|
2015-03-24 10:21:34 +00:00 |
Philip.Hazel
|
aa8d7342da
|
Test binary zero in callout strings; change offset to PCRE2_SIZE; some
documentation tidies.
|
2015-03-16 15:38:26 +00:00 |
Philip.Hazel
|
15e034c9c2
|
Add string offset within the pattern to the data passed to a callout with a
string argument.
|
2015-03-14 12:20:18 +00:00 |
Philip.Hazel
|
b2c67082bd
|
Fix crash in pcre2test for some callouts with string arguments.
|
2015-03-14 10:47:43 +00:00 |
Philip.Hazel
|
baf08a3d37
|
Support manual callout with string argument at start of condition.
|
2015-03-12 17:00:18 +00:00 |
Philip.Hazel
|
d0cf279d87
|
Code for callouts with string arguments. Documentation not yet updated.
|
2015-03-11 17:44:16 +00:00 |
Philip.Hazel
|
b8dbae1474
|
Improvements for substring handling with partial matches.
|
2014-12-22 17:33:10 +00:00 |
Philip.Hazel
|
cb8865d247
|
Update and improve substring handling and its documentation.
|
2014-12-14 17:17:06 +00:00 |
Philip.Hazel
|
f1c6ee730a
|
Code for pcre2_substitute(), and tests.
|
2014-11-11 10:19:23 +00:00 |
Philip.Hazel
|
8aa511a98b
|
Improve test coverage; minor typo in JIT test and other minor buglets fixed.
|
2014-10-31 12:34:34 +00:00 |
Philip.Hazel
|
26cd0bccb3
|
Partial documentation and partial code tweaks.
|
2014-10-14 16:23:57 +00:00 |
Philip.Hazel
|
b6e793f343
|
The tests all run clean with JIT.
|
2014-10-11 15:56:25 +00:00 |
Philip.Hazel
|
4bdfd990af
|
Impose a minimum of 1 for the number of pairs in the ovector.
|
2014-10-05 17:55:25 +00:00 |
Philip.Hazel
|
ccd5ac9014
|
Save compile-time work when PCRE2_NO_START_OPTIMIZE is set.
|
2014-10-03 09:47:59 +00:00 |
Philip.Hazel
|
e036c5fba0
|
Remove the ability to change newlines and \R at match time.
|
2014-10-01 17:02:33 +00:00 |
Philip.Hazel
|
a0410efc56
|
Make PCRE2_NO_START_OPTIMIZE a compile-only option.
|
2014-10-01 16:16:27 +00:00 |
Philip.Hazel
|
eee8530add
|
API documentation and a lot of little related changes to the code.
|
2014-09-19 07:43:39 +00:00 |
Philip.Hazel
|
7858fa702d
|
Implement (*NOTEMPTY) and (?(VERSION= features.
|
2014-08-26 11:46:21 +00:00 |
Philip.Hazel
|
ac70cacd29
|
Implement the "rightchar" feature of match data.
|
2014-08-19 17:07:22 +00:00 |
Philip.Hazel
|
bcfa6a7d5b
|
Don't say "No options" or "No first/last code unit"; simplifies pcre2test
output.
|
2014-08-10 16:32:58 +00:00 |
Philip.Hazel
|
b6b9087081
|
Multi-config tests (without JIT) now work.
|
2014-08-10 16:09:24 +00:00 |
Philip.Hazel
|
e2076960d4
|
Changes to pcre2test single-letter modifiers.
|
2014-08-03 18:15:32 +00:00 |
Philip.Hazel
|
8792477279
|
Add more tests.
|
2014-08-03 17:50:08 +00:00 |