Commit Graph

238 Commits

Author SHA1 Message Date
ph10
ca94ec16b7 Add pcre2_code_copy_with_tables(). 2016-11-22 15:37:02 +00:00
ph10
45ab2ff989 Update test for previous pcre2test update (overlooked). 2016-11-22 12:31:03 +00:00
ph10
12220c8b72 Fix overrun bug caused by conditional with assertion using too much memory. 2016-11-18 18:59:37 +00:00
ph10
e86513c76f Fix global overflow bug for get/copy names in pcre2test. 2016-11-10 17:08:27 +00:00
ph10
70f5077974 Test update. 2016-11-04 16:40:08 +00:00
ph10
68b57e736a Fix overrun for unterminated number after \g' 2016-11-04 11:05:21 +00:00
ph10
d9df3ee14b Fix auto-anchor bug when .* is inside an assertion. 2016-11-01 15:58:28 +00:00
ph10
7bfc994cf8 Fix read beyond unterminated quantifier at end of pattern. 2016-11-01 12:12:45 +00:00
ph10
5bc0bdf46f Fix pattern overrun in utf extended mode for a # comment that hit the end. 2016-10-31 17:46:56 +00:00
ph10
0b95c1b47c Fix bad memory calculation when the first branch of a lookbehind is of zero
length.
2016-10-28 16:09:08 +00:00
ph10
f9bba1c615 Fix bad lookup in global table for wide characters in extended mode and in
*VERB names.
2016-10-27 17:42:14 +00:00
ph10
17d07985cc Fix *MARK length check in UTF mode (it was checking characters, not code
units).
2016-10-26 16:59:22 +00:00
ph10
1d5d04b5e4 Diagnose an overall recursion (?0) inside a lookbehind as an error. 2016-10-23 17:05:09 +00:00
ph10
d399997578 The "offset" modifier in pcre2test was not being ignored (as documented) for
POSIX.
2016-10-23 16:18:15 +00:00
ph10
20d0109ed3 Fix optimization bugs when pattern starts with lookahead. 2016-10-18 11:22:40 +00:00
ph10
d709d81905 Add -t to pcre2grep. 2016-10-16 16:48:14 +00:00
ph10
6703953f9f Add test for bug already fixed by the refactoring. 2016-10-13 16:08:08 +00:00
ph10
a96905b68a Implement buffer expansion in pcre2grep. 2016-10-11 16:40:09 +00:00
ph10
e96c117d56 Fix new test in testinput5 when LF is not a default newline. 2016-10-07 15:50:39 +00:00
ph10
2fe6229033 Fix callout display bug in pcre2test. 2016-10-05 16:53:34 +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
c8ccfdeaef Fix new tests when newline is not LF. 2016-07-06 17:39:15 +00:00
ph10
67342de8a9 Ignore "allcaptures" after DFA matching. 2016-07-06 15:02:24 +00:00
ph10
c8e722b99d Detect overflow in pcre2test pattern and subject repetition counts. 2016-07-06 08:42:50 +00:00
ph10
102cded91e Additional test for recent JIT bugfix. 2016-07-02 15:52:30 +00:00
ph10
838adf332a Support \C in lookbehinds and DFA matching in UTF-32 mode. 2016-06-20 18:14:51 +00:00
ph10
2e31095370 Fix bad interaction between -o and -M in pcre2grep. 2016-06-17 17:37:26 +00:00
ph10
61c6782bd0 Return an error code when pcre2_get_error_message() does not recognize an error
code, and add a pcre2test facility for testing this.
2016-06-17 11:30:27 +00:00
ph10
be26792758 Implement PCRE2_NO_JIT, update HTML docs as well. 2016-06-05 16:05:34 +00:00
ph10
b16e6f7e23 Update valgrind parameters in RunGrepTest and arrange for the suppressions file
to be used when JIT is supported.
2016-05-31 11:36:10 +00:00
ph10
25944059bc Add callout support to pcre2grep 2016-04-01 15:52:08 +00:00
ph10
980f8247f9 pcre2grep: fix \r\r\n problem for Windows, and give buffer size in error
message.
2016-04-01 09:15:38 +00:00
ph10
9224b3bddb Implemented pcre2_code_copy(). 2016-02-26 18:26:17 +00:00
ph10
c3b2163321 Detect missing closing parentheses during the pre-pass. 2016-02-13 15:30:29 +00:00
ph10
cd0085ed22 Fix workspace overflow for deep nested parentheses with (*ACCEPT). 2016-02-10 18:24:02 +00:00
ph10
0c70759be9 Fix pcre2test loop when a callout is in an initial lookbehind. 2016-02-06 16:40:59 +00:00
ph10
3d93c737c8 Detect unmatched closing parentheses in the pre-scan to avoid giving incorrect
error messages.
2016-02-02 17:22:55 +00:00
ph10
acc1a9b13c Don't set PCRE2_NO_AUTO_CAPTURE when REG_NOSUB is passed to regcomp(). 2016-01-31 19:14:15 +00:00
ph10
40d06d3bdf Update valgrind parameters. 2016-01-30 15:19:48 +00:00
ph10
74a085802c 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
ph10
ace3d74cc7 Patches to fix tests under Windows. 2016-01-29 15:01:17 +00:00
ph10
995365cc8b Remove unwanted trailing space in test data. 2016-01-07 16:08:44 +00:00
ph10
9936504425 Fix printing of *MARK names containing binary zeroes in pcre2test. 2015-12-16 18:44:24 +00:00
ph10
42c40455d7 Some tests were in the wrong files. 2015-12-15 18:21:49 +00:00
ph10
203b6126ff Implement PCRE2_SUBSTITUTE_{OVERFLOW_LENGTH,UNKNOWN_UNSET}. 2015-12-12 18:45:40 +00:00
ph10
c5abfa13a3 Harden pcre2test against ridiculously large values in modifiers and command
line arguments.
2015-12-05 18:17:41 +00:00
ph10
90cb7c0d75 Implement PCRE2_SUBSTITUTE_UNSET_EMPTY. 2015-12-04 18:39:08 +00:00
ph10
ea42e9515b Fix typo introduced by ChangeLog 107. 2015-12-04 14:34:35 +00:00