Philip.Hazel
|
b7d5cee61f
|
Allow anchored patterns to use "first code unit" optimization.
|
2017-06-30 16:00:33 +00:00 |
Philip.Hazel
|
a083420cac
|
Implement PCRE2_EXTRA_MATCH_LINE and PCRE2_EXTRA_MATCH_WORD for the benefit
of pcre2grep.
|
2017-06-16 17:51:13 +00:00 |
Philip.Hazel
|
c4fac10bad
|
Implement PCRE2_LITERAL and REG_NOSPEC.
|
2017-06-15 16:41:44 +00:00 |
Philip.Hazel
|
f850015168
|
Add suitable "fall through" comments for latest gcc warnings.
|
2017-06-03 17:50:03 +00:00 |
Philip.Hazel
|
e3a0f22349
|
Implement PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL.
|
2017-06-01 18:10:15 +00:00 |
Philip.Hazel
|
3d80fa4fc2
|
Implement PCRE2_NEWLINE_NUL.
|
2017-05-26 17:14:36 +00:00 |
Philip.Hazel
|
fef4de56a1
|
Fix potential NULL dereference in new code for surrogate escapes, discovered by
Coverity Scan.
|
2017-05-23 16:47:29 +00:00 |
Philip.Hazel
|
dfc9712bcd
|
Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES.
|
2017-05-17 17:55:11 +00:00 |
Philip.Hazel
|
369d82e03a
|
Implement Perl's /n option, which is the same as PCRE2_NO_AUTO_CAPTURE.
|
2017-04-18 16:21:50 +00:00 |
Philip.Hazel
|
3dca43fdff
|
Implement PCRE2_EXTENDED_MORE and friends.
|
2017-04-18 12:32:52 +00:00 |
Philip.Hazel
|
41d1c6d6ce
|
Tidies and minor bug fix resulting from Coverity Scan issues.
|
2017-04-16 16:49:11 +00:00 |
Philip.Hazel
|
346447005a
|
Remove redundant line of code (a typo really).
|
2017-04-14 11:42:02 +00:00 |
Philip.Hazel
|
bd511d381f
|
Fix valgrind warnings for unset padding at the end of the pcre2_real_code
structure.
|
2017-04-12 13:48:11 +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
|
09f87cbfce
|
Extend auto-anchoring to ignore "never-obeyed" groups at the start.
|
2017-04-07 08:46:29 +00:00 |
Philip.Hazel
|
a3275d1e0f
|
Implement PCRE2_ENDANCHORED.
|
2017-04-04 17:09:33 +00:00 |
Philip.Hazel
|
d7da2dcb37
|
Fix crash for forward reference in lookbehind with PCRE2_ANCHORED. Fixes
oss-fuzz issue 865.
|
2017-03-16 17:17:47 +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
|
20804215a8
|
Code for new interpreter (build system and documentation still to be done).
|
2017-03-09 16:23:28 +00:00 |
Philip.Hazel
|
bea3a10a93
|
Final file updates for 10.23.
|
2017-02-14 10:40:33 +00:00 |
Philip.Hazel
|
4311f49d0e
|
Fix \g+ bug when the number that follows is too big.
|
2017-01-31 17:15:30 +00:00 |
Philip.Hazel
|
ca1ecd41a1
|
File tidies for 10.23-RC1
|
2017-01-16 17:40:47 +00:00 |
Philip.Hazel
|
1226e2e0d0
|
Fix hyphen after \E after POSIX class causing an error.
|
2017-01-11 16:40:35 +00:00 |
Philip.Hazel
|
255bc030d9
|
Improve class handling for \H and \V by ignoring caseless.
|
2017-01-03 18:17:31 +00:00 |
Philip.Hazel
|
15c30bf55a
|
Detect overlong patterns earlier.
|
2017-01-03 11:35:26 +00:00 |
Philip.Hazel
|
f676362977
|
Fix issue with \Q\E after a callout before an assertion condition.
|
2016-12-28 12:26:12 +00:00 |
Philip.Hazel
|
fdf7946ee0
|
Fail hyphen after POSIX character class.
|
2016-12-27 11:50:28 +00:00 |
Philip.Hazel
|
8933d999d8
|
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 |
Philip.Hazel
|
a7a25ed91d
|
Fix bug when a character > 0xffff appears in a lookbehind within a lookbehind.
|
2016-12-24 16:25:11 +00:00 |
Philip.Hazel
|
6c48775955
|
Fix mis-parsing of a conditional group with callout but a question mark where
the assertion should start.
|
2016-12-23 18:34:10 +00:00 |
Philip.Hazel
|
d15aab4d17
|
More refactoring: keep track of empty branches during compiling, replacing a
post-compile scan.
|
2016-12-23 17:09:37 +00:00 |
Philip.Hazel
|
3df9674c4e
|
Fix name table sort buffer overflow.
|
2016-12-21 17:09:11 +00:00 |
Philip.Hazel
|
f77339a3ca
|
Fix \Q\E quantification bug.
|
2016-12-11 16:42:29 +00:00 |
Philip.Hazel
|
bcad1aa4f6
|
Fix NULL defer in extended substition for \p, \P, or \X.
|
2016-12-09 16:57:51 +00:00 |
Philip.Hazel
|
14f6b9fb03
|
Fix \Q...\E bug in (*VERB) name when PCRE2_ALT_VERBNAMES and PCRE2_AUTO_CALLOUT
were both specified.
|
2016-11-27 16:14:33 +00:00 |
Philip.Hazel
|
7390ce13f6
|
Quantifiers following (*VERB)s were not being diagnosed.
|
2016-11-25 10:37:23 +00:00 |
Philip.Hazel
|
4c69f50e69
|
Fix bad behaviour for subroutine call in lookbehind when the called subroutine
contained an option setting such as (?s) and PCRE2_ANCHORED was set.
|
2016-11-23 17:17:57 +00:00 |
Philip.Hazel
|
2aec84e37e
|
Add pcre2_code_copy_with_tables().
|
2016-11-22 15:37:02 +00:00 |
Philip.Hazel
|
e0cccdd028
|
Fix overrun bug caused by conditional with assertion using too much memory.
|
2016-11-18 18:59:37 +00:00 |
Philip.Hazel
|
270eaa7615
|
Fix bad working space size calculation when PCRE2_AUTO_CALLOUT is set.
|
2016-11-04 16:35:47 +00:00 |
Philip.Hazel
|
e533e0f774
|
Fix overrun for unterminated number after \g'
|
2016-11-04 11:05:21 +00:00 |
Philip.Hazel
|
6a15c1cbcc
|
Fix callout string read overrun; do better with catching these when using
zero-terminated patterns under valgrind.
|
2016-11-01 17:45:54 +00:00 |
Philip.Hazel
|
4fd8feaa50
|
Fix auto-anchor bug when .* is inside an assertion.
|
2016-11-01 15:58:28 +00:00 |
Philip.Hazel
|
12a6d697fe
|
Fix read beyond unterminated quantifier at end of pattern.
|
2016-11-01 12:12:45 +00:00 |
Philip.Hazel
|
0ea3274a53
|
Fix pattern overrun in utf extended mode for a # comment that hit the end.
|
2016-10-31 17:46:56 +00:00 |
Philip.Hazel
|
24ab24fde0
|
Fix bad memory calculation when the first branch of a lookbehind is of zero
length.
|
2016-10-28 16:09:08 +00:00 |
Philip.Hazel
|
8eae402315
|
Fix bad lookup in global table for wide characters in extended mode and in
*VERB names.
|
2016-10-27 17:42:14 +00:00 |
Philip.Hazel
|
56084cc922
|
Fix *MARK length check in UTF mode (it was checking characters, not code
units).
|
2016-10-26 16:59:22 +00:00 |
Philip.Hazel
|
2821076981
|
Diagnose an overall recursion (?0) inside a lookbehind as an error.
|
2016-10-23 17:05:09 +00:00 |
Philip.Hazel
|
a22c5e4204
|
Fix optimization bugs when pattern starts with lookahead.
|
2016-10-18 11:22:40 +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
|
dda1e79060
|
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 |
Philip.Hazel
|
921636f6fc
|
Documentation detrail and make HTML for 10.22-RC1.
|
2016-06-29 16:52:05 +00:00 |
Philip.Hazel
|
149456dce0
|
Support \C in lookbehinds and DFA matching in UTF-32 mode.
|
2016-06-20 18:14:51 +00:00 |
Philip.Hazel
|
4db9b51ce0
|
Fix comment describing returns from find_fixedlength().
|
2016-06-14 15:12:07 +00:00 |
Philip.Hazel
|
bf1587490b
|
Minor code refactor to avoid compiler warning.
|
2016-05-20 10:47:42 +00:00 |
Philip.Hazel
|
96926349bc
|
Implemented pcre2_code_copy().
|
2016-02-26 18:26:17 +00:00 |
Philip.Hazel
|
c28ed7fd4a
|
Fix some picky compiler warnings
|
2016-02-16 10:23:06 +00:00 |
Philip.Hazel
|
94e07de498
|
Detect missing closing parentheses during the pre-pass.
|
2016-02-13 15:30:29 +00:00 |
Philip.Hazel
|
6bb132265b
|
Fix workspace overflow for deep nested parentheses with (*ACCEPT).
|
2016-02-10 18:24:02 +00:00 |
Philip.Hazel
|
9f75a0f92a
|
Detect unmatched closing parentheses in the pre-scan to avoid giving incorrect
error messages.
|
2016-02-02 17:22:55 +00:00 |
Philip.Hazel
|
bebd2d48bf
|
Final file updates for 10.21 release.
|
2016-01-12 14:44:34 +00:00 |
Philip.Hazel
|
38caadff03
|
Fix typo introduced by ChangeLog 107.
|
2015-12-04 14:34:35 +00:00 |
Philip.Hazel
|
a7c9027ae6
|
Fix \) in (*verb) "name" bug.
|
2015-12-03 18:36:36 +00:00 |
Philip.Hazel
|
1f9b2a2e4b
|
Fix /x bug when pattern starts with whitespace followed by (?-x).
|
2015-12-03 16:58:31 +00:00 |
Philip.Hazel
|
d71b70cdf7
|
Fix issues with NULL characters in patterns.
|
2015-12-02 17:39:26 +00:00 |
Philip.Hazel
|
7b1d9549c6
|
Fix extended *verb name ignored terminating whitespace bug.
|
2015-12-01 17:41:24 +00:00 |
Philip.Hazel
|
12fc152074
|
Fix empty \Q\E between an item and a qualifier in auto-callout mode.
|
2015-11-30 17:31:16 +00:00 |
Philip.Hazel
|
de6603d294
|
Fix bad behaviour for isolated \E before qualifier with auto-callout.
|
2015-11-27 17:34:36 +00:00 |
Philip.Hazel
|
291ececa58
|
Fix negated POSIX class bug.
|
2015-11-27 17:03:58 +00:00 |
Philip.Hazel
|
aec5c96cf5
|
Fix bad offset value in invalid UTF pattern error.
|
2015-11-27 15:58:44 +00:00 |
Philip.Hazel
|
2eb24e2dac
|
Fix auto-callout with (?# comment bug.
|
2015-11-25 18:46:35 +00:00 |
Philip.Hazel
|
11e0001b14
|
Fix wide character problem with negated POSIX ascii and xdigit class items.
|
2015-11-20 16:55:36 +00:00 |
Philip.Hazel
|
6650a2fd9a
|
Fix single-character POSIX class bug in UCP mode.
|
2015-11-17 17:13:43 +00:00 |
Philip.Hazel
|
5ced14bf24
|
Implement PCRE2_INFO_HASBACKSLASHC.
|
2015-11-14 17:28:19 +00:00 |
Philip.Hazel
|
e7727c36be
|
Don't use group caching when (?| is involved; instead use a counter to cap too
much computation.
|
2015-11-10 14:33:28 +00:00 |
Philip.Hazel
|
1bd3658bd9
|
Allow for the possibility of the size of the nest_save structure not being
a factor of the size of the compiling workspace.
|
2015-11-09 17:39:43 +00:00 |
Philip.Hazel
|
ddf5f0532b
|
Correct comments.
|
2015-11-09 17:09:00 +00:00 |
Philip.Hazel
|
8dcd23238a
|
Adjust tests for workspace overflow and relevant comments in pcre2_compile.c
|
2015-11-08 14:41:34 +00:00 |
Philip.Hazel
|
89b1ae1c98
|
Use caching to improve could_be_empty() and find_fixed_length() compile times,
especially when recursion/subroutine calls are present.
|
2015-11-08 14:20:09 +00:00 |
Philip.Hazel
|
efc135b261
|
Fix out-of-date comment.
|
2015-11-06 17:52:41 +00:00 |
Philip.Hazel
|
2909e2411c
|
Fix (*NO_AUTO_POSSESS)
|
2015-11-05 18:03:16 +00:00 |
Philip.Hazel
|
b7ee0684e3
|
Implement pcre2_set_max_pattern_length()
|
2015-11-05 17:33:39 +00:00 |
Philip.Hazel
|
37e9ea2331
|
Fix buglet in recent name length patch.
|
2015-11-03 20:09:33 +00:00 |
Philip.Hazel
|
b02bb996af
|
Check subpattern name lengths dynamically.
|
2015-11-03 20:04:23 +00:00 |
Philip.Hazel
|
4ad83f7103
|
Dynamic check of (*MARK) etc name length to avoid the possibility of overflow.
|
2015-11-03 19:14:31 +00:00 |
Philip.Hazel
|
75181cca2e
|
Give error for overlong lookbehind assertion.
|
2015-11-03 10:39:27 +00:00 |
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
|
f72b753f73
|
Fix VERSION condition bug.
|
2015-11-01 16:28:13 +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
|
766fbc81d0
|
Fix PCRE2_NO_AUTO_CAPTURE bug.
|
2015-10-25 17:35:34 +00:00 |
Philip.Hazel
|
94eda7669a
|
Fix UCP with [[:<]] and [[:>:]] bad compile bug.
|
2015-10-21 11:29:07 +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
|
3263d44b97
|
Implement --never-backslash-C
|
2015-10-17 13:50:56 +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
|
6ae5c36e83
|
Implement PCRE2_SUBSTITUTE_EXTENDED.
|
2015-10-07 17:32:48 +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
|
cdf07ab585
|
Complete escape processing for PCRE2_ALT_VERBNAMES
|
2015-09-01 17:32:42 +00:00 |