Philip.Hazel
|
971f885277
|
Fix typos in code for alphabetic ranges in EBCDIC environments.
|
2018-10-15 11:01:24 +00:00 |
Philip.Hazel
|
cda4780fb6
|
Fix bugs of omission in new script run code.
|
2018-10-03 15:41:47 +00:00 |
Philip.Hazel
|
866750fd53
|
Basic "script run" implementation. Not yet complete, and not yet documented.
|
2018-10-02 15:25:58 +00:00 |
Philip.Hazel
|
f26b0b0bae
|
Implement Perl 5.28's alphabetic lookaround syntax, e.g. (*pla:...) and also
(*atomic:...).
|
2018-09-24 16:23:53 +00:00 |
Philip.Hazel
|
69254c77f1
|
Implement PCRE2_EXTRA_ESCAPED_CR_IS_LF
|
2018-09-21 16:59:48 +00:00 |
Philip.Hazel
|
bfad956b34
|
Treat empty-string-matching repeated conditionals the same as ordinary ones
when checking for an anchored pattern.
|
2018-09-03 15:20:40 +00:00 |
Philip.Hazel
|
59c2175ed9
|
Fix anchoring bug in conditionals with only one branch.
|
2018-09-02 16:53:29 +00:00 |
Philip.Hazel
|
50f0de6015
|
Lock out \N{U+hhhh} in non-UTF (non-Unicode) modes.
|
2018-09-02 16:03:27 +00:00 |
Philip.Hazel
|
1c6f2fc972
|
Tidy unnecessarily complicated macros in escapes table.
|
2018-08-19 16:54:41 +00:00 |
Philip.Hazel
|
392974a0cb
|
File tidies and documentation update for 10.32-RC1 Release Candidate.
|
2018-08-13 11:57:09 +00:00 |
Philip.Hazel
|
1a8cc3dab6
|
Make bcopy() emulation of memmove() work properly.
|
2018-08-10 16:27:44 +00:00 |
Philip.Hazel
|
9332d4be69
|
Fix dynamic options changing bug.
|
2018-08-04 08:20:18 +00:00 |
Philip.Hazel
|
b196143523
|
Make /x more Perl-compatible by recognizing all of Unicode's "Pattern White
Space" characters, not just the ASCII ones.
|
2018-08-03 09:38:36 +00:00 |
Philip.Hazel
|
6e245572b8
|
Add support for (?^) as now supported by Perl.
|
2018-07-28 16:23:24 +00:00 |
Philip.Hazel
|
a9453f096f
|
Give specific error for \F as for \L, \U etc.
|
2018-07-27 16:55:52 +00:00 |
Philip.Hazel
|
e9aa3c0a21
|
Add support for \N{U+dd...}, for ASCII and Unicode modes only.
|
2018-07-27 16:30:40 +00:00 |
Philip.Hazel
|
192b82cf6e
|
Allow :NAME on (*ACCEPT), (*FAIL), and (*COMMIT) and fix bug with (*MARK)
followed by (*ACCEPT) in an assertion. More small updates to perltest.sh.
|
2018-07-21 14:34:51 +00:00 |
Philip.Hazel
|
50aa69657e
|
Fix bug in VERSION number reading.
|
2018-07-02 12:26:04 +00:00 |
Philip.Hazel
|
b2294373d7
|
Ignore qualifiers on lookaheads within lookbehinds when checking for a fixed
length.
|
2018-07-02 11:23:45 +00:00 |
Philip.Hazel
|
9d87fcb727
|
Patches for portability.
|
2018-06-20 17:05:31 +00:00 |
Philip.Hazel
|
fabea723cf
|
Typos in documentation and comments noted by Jason Hood.
|
2018-06-17 14:13:28 +00:00 |
Philip.Hazel
|
814cc96bc5
|
Save extra compile options with the compiled pattern, and add an info call to
retrieve them.
|
2017-12-16 17:49:26 +00:00 |
Philip.Hazel
|
3458a2e2cd
|
Fix infelicity in not finding a first character inside a non-assertive group
within a positive assertion.
|
2017-12-12 16:23:01 +00:00 |
Philip.Hazel
|
59d85d7b55
|
Fix incorrect first matching character when a backreference with zero minimum
repeat starts a pattern (possibly after assertions).
|
2017-12-12 15:01:51 +00:00 |
Philip.Hazel
|
36366914f5
|
Fix oss-fuzz bugs 3852 and 3891 (same bug); mis-closing external captures by
*ACCEPT inside assertions.
|
2017-10-29 16:58:38 +00:00 |
Philip.Hazel
|
6f4ee08469
|
Add some casts to avoid compiler warnings.
|
2017-09-26 17:01:23 +00:00 |
Philip.Hazel
|
18d7627293
|
Fix "maybe uninitialized" warning.
|
2017-08-12 16:22:52 +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
|
0ba5272960
|
Fix bug in /xx implementation.
|
2017-07-25 15:27:30 +00:00 |
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 |