Commit Graph

28 Commits

Author SHA1 Message Date
ph10
64e0f37d36 Another extension to minimum length calculation. 2019-06-17 16:26:44 +00:00
ph10
df13a172d5 Implement support for invalid UTF in the pcre2_match() interpreter. 2019-05-24 17:15:48 +00:00
ph10
528c8c2363 Previout bug-fix was bad. This properly fixes an overrun while reading a
Unicode group name.
2019-02-07 17:59:37 +00:00
ph10
e5959e493e 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
ph10
064a85f5de Upgrade the as yet unreleased substitute callout facility. 2018-11-12 16:02:01 +00:00
ph10
c6c2308c01 Basic "script run" implementation. Not yet complete, and not yet documented. 2018-10-02 15:25:58 +00:00
ph10
202311b568 Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
2018-09-24 16:23:53 +00:00
ph10
1a030c42df Implement callouts from pcre2_substitute(). 2018-09-18 16:31:30 +00:00
ph10
fd04d60d52 Save extra compile options with the compiled pattern, and add an info call to
retrieve them.
2017-12-16 17:49:26 +00:00
ph10
50fee9e172 Allow anchored patterns to use "first code unit" optimization. 2017-06-30 16:00:33 +00:00
ph10
c6d7f9deae Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES. 2017-05-17 17:55:11 +00:00
zherczeg
1d04b42c77 Fix character type detection when 32-bit and UCP are enabled but UTF is not in JIT. 2017-03-31 05:40:37 +00:00
ph10
ef5fe72c11 Fix 32-bit non-UTF property test crash. 2017-02-24 18:25:32 +00:00
ph10
482ae8f096 Fix class bug when UCP but not UTF was set and all wide characters need to be
included.
2016-12-26 17:11:18 +00:00
ph10
33f4845d6c Major refactoring of pcre2_compile.c; see ChangeLog and HACKING. 2016-10-02 16:01:01 +00:00
ph10
a5b5d3f2dc Fix bug that caused chars > 255 not to be matched by classes like [\W\pL] when
PCRE2_UCP was not set.
2016-08-03 17:22:59 +00:00
ph10
b860064c6b Update pcre2test with the /utf8_input option, for generating wide characters in
non-UTF 16-bit and 32-bit modes.
2016-08-03 09:01:02 +00:00
ph10
57a8611a13 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
ph10
cdb20c3526 Tidied up a lot of comments in the test files. 2015-09-16 16:49:48 +00:00
ph10
db81c6b5e6 Runtime UTF checks now take not of the starting offset. 2015-08-18 10:34:05 +00:00
ph10
7638ce507c Refactor named group handling by adding a pre-pass that generates a list of
named groups with their numbers before the rest of the compiling code is run. 
This has simplified the main compiling code and removed some sources of error.
2015-06-03 16:27:47 +00:00
ph10
e8653da07b More documentation and test updates. 2014-11-23 18:38:38 +00:00
ph10
bb0ed6389e Code for pcre2_substitute(), and tests. 2014-11-11 10:19:23 +00:00
ph10
ad496af8a1 API documentation and a lot of little related changes to the code. 2014-09-19 07:43:39 +00:00
ph10
0a3956d7fc Don't say "No options" or "No first/last code unit"; simplifies pcre2test
output.
2014-08-10 16:32:58 +00:00
ph10
1b7cf50df6 Multi-config tests (without JIT) now work. 2014-08-10 16:09:24 +00:00
ph10
36964b0470 Test tidies and additional tests. 2014-08-06 09:35:11 +00:00
ph10
55349aade7 All tests except JIT and save/reload are implemented. 2014-08-05 16:51:32 +00:00