Commit Graph

403 Commits

Author SHA1 Message Date
Philip.Hazel 7d7a92edef Bad max lookbehind length was calculated when a back reference contained a
recursion.
2015-11-01 17:31:48 +00:00
Philip.Hazel aaa23388c7 Fix dodgy code for UTF-32 checking. 2015-11-01 16:54:17 +00:00
Philip.Hazel a0d04b9fa3 Fix off-by-one bug in pcre2_substitute(). 2015-11-01 16:36:20 +00:00
Philip.Hazel f72b753f73 Fix VERSION condition bug. 2015-11-01 16:28:13 +00:00
Philip.Hazel a15528e565 Document regerror_buffsize feature added to pcre2test. 2015-10-30 18:30:43 +00:00
Philip.Hazel 284d42fa7e Avoid the need for an integer overflow check in pcre2_substitute() by adding a
check for a number greater than the largest capturing group.
2015-10-30 18:25:19 +00:00
Philip.Hazel 890250535b Use PCRE2_NO_UTF_CHECK for the second and subsequent matches in
pcre2_substitute().
2015-10-30 17:41:56 +00:00
Philip.Hazel efccea98f1 Fix pcre2_substitute(): set zero-terminated length before UTF validity check. 2015-10-30 17:30:03 +00:00
Philip.Hazel 4b242c4c78 Fix regerror() small buffer issues. 2015-10-30 17:17:40 +00:00
Philip.Hazel 30170ade3d Allow expand with posix test. 2015-10-30 16:08:51 +00:00
Philip.Hazel 4ce7652a0e Add replication feature for patterns to pcre2test. 2015-10-30 15:20:07 +00:00
Philip.Hazel d1b4d99bc5 Improve error message for overly-complicated patterns. 2015-10-28 09:59:53 +00:00
Philip.Hazel 9577d9e165 Fix overlong (*MARK) or (*THEN) names bug. 2015-10-28 09:25:31 +00:00
Philip.Hazel c82273cc74 Fix minor buglet in this script. 2015-10-27 16:15:25 +00:00
Philip.Hazel 766fbc81d0 Fix PCRE2_NO_AUTO_CAPTURE bug. 2015-10-25 17:35:34 +00:00
Philip.Hazel 8a8d0ced69 Fix spurious error in pcre2test when single-letter modifiers at the end of a line have trailing spaces. 2015-10-22 15:49:54 +00:00
Philip.Hazel 2f542eb1c5 Add attribution for last bug. 2015-10-21 15:59:45 +00:00
Philip.Hazel 94eda7669a Fix UCP with [[:<]] and [[:>:]] bad compile bug. 2015-10-21 11:29:07 +00:00
Philip.Hazel 0fe342cbed Include --enable-never-backslash-C in one test, and arrange to ignore spurious
warning message from ar: `u' modifier ignored ...
2015-10-17 18:31:29 +00:00
Philip.Hazel 836fbb1148 Fix erroneous "\ at end of pattern" errors, introduced by
PCRE2_SUBSTITUTE_EXTENDED patch.
2015-10-17 18:29:01 +00:00
Philip.Hazel 0809e3b81a Fix bug: test 22 not skipped when Unicode not configured. 2015-10-17 18:27:38 +00:00
Philip.Hazel 3263d44b97 Implement --never-backslash-C 2015-10-17 13:50:56 +00:00
Philip.Hazel 5923caf05e Fix integer overflow for patterns whose minimum matching length is very, very
large.
2015-10-09 16:54:29 +00:00
Philip.Hazel 093412143d Fix compiler bug for classes such as [\W\p{Any}]. 2015-10-09 16:06:53 +00:00
Philip.Hazel 2080c45105 Ignore src/config.h 2015-10-07 17:40:22 +00:00
Philip.Hazel f16941cdcc Remove src/config.h, accidentally added to the repo. 2015-10-07 17:37:57 +00:00
Philip.Hazel 6ae5c36e83 Implement PCRE2_SUBSTITUTE_EXTENDED. 2015-10-07 17:32:48 +00:00
Philip.Hazel f64749b40a List of test files needed updating. 2015-09-25 16:14:40 +00:00
Philip.Hazel 6fbfbe9a56 Update generic versions of config.h and pcre2.h. 2015-09-25 16:00:50 +00:00
Philip.Hazel b59fd8a0b0 Put pcre2.h in the repository. 2015-09-24 17:51:03 +00:00
Philip.Hazel 78daaf557f Put config files in the repo for those without autotools. 2015-09-24 17:40:38 +00:00
Philip.Hazel 0c70fb3013 Add null_context to pcre2test for testing NULL contexts. 2015-09-23 11:49:03 +00:00
Philip.Hazel c70450d08b Documentation for offset limits. 2015-09-22 16:51:11 +00:00
Philip.Hazel 74affd9210 Correct previous commit. 2015-09-22 16:41:25 +00:00
Philip.Hazel 9ba3784b2e Some man pages were being missed when creating pcre2.txt. 2015-09-22 16:40:41 +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 36db5a4d5f Implement comment lines in subject strings in pcre2test (and perltest.sh) input files. 2015-09-14 15:10:19 +00:00
Philip.Hazel 6aa0f3e56f Update HTML documentation. 2015-09-12 18:12:01 +00:00
Philip.Hazel 06477b27af Expand documentation about JIT compilation. 2015-09-12 18:10:57 +00:00
Philip.Hazel 297024d65b Create a suppressions file for valgrind with JIT. 2015-09-11 16:56:47 +00:00
Philip.Hazel 7f12be426c Update obsolete comments. 2015-09-09 09:21:38 +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 6119920f26 Clarify semantics of the POSIX wrapper. 2015-09-03 15:53:14 +00:00
Philip.Hazel 56b8632771 Fix documentation typos. 2015-09-03 15:27:43 +00:00
Zoltán Herczeg 357dfb7964 Fix two issues in JIT. 2015-09-02 08:35:50 +00:00
Philip.Hazel cdf07ab585 Complete escape processing for PCRE2_ALT_VERBNAMES 2015-09-01 17:32:42 +00:00
Philip.Hazel d2e87a75af Implemented PCRE2_ALT_VERBNAMES 2015-08-30 17:47:36 +00:00
Philip.Hazel fd08e11c1e Fix pcre2test splitting modifier lists at white space. 2015-08-30 14:11:15 +00:00
Zoltán Herczeg ccda7d218f SSE2 refactor, JIT compiler update. 2015-08-30 05:30:43 +00:00