Commit Graph

15 Commits

Author SHA1 Message Date
jzmaddock
f343cab680 Regex: Fix handling of repeats when mod_x is in effect.
See https://oss-fuzz.com/v2/testcase-detail/6420486177161216?noredirect=1
2017-10-08 11:52:54 +01:00
jzmaddock
b4541fa88e Qualify some ambiguous names. 2015-10-22 13:33:25 +01:00
jzmaddock
05b582761d Fix case that differs from Perl behavior. 2014-09-25 11:45:26 +01:00
John Maddock
66d8b8140a When a {} repeat sequence is invalid or incomplete, and the language is Perl, then backtrack and treat the sequence as a literal, not a repeat operator.
Fixes #8569.

[SVN r84371]
2013-05-19 11:12:14 +00:00
John Maddock
fbf5c7d62c Fix infinite recursion in bad recursive expressions.
Fix bug that allows invalid regex to go unnoticed and crash later.
Fixes #5613.
Fixes #5612.

[SVN r72612]
2011-06-16 11:27:13 +00:00
John Maddock
f4d925ad3b Up the warning level, and fix the resulting warnings with msvc, gcc and Intel.
Fix bug in docs and regenerate.

[SVN r65208]
2010-09-03 08:33:13 +00:00
John Maddock
6e1f3dcceb Improved error messages generated for thrown exceptions.
Suppressed "gcc -Wall -Wextra -pedantic" and "msvc /W4" warnings.
Updated and rebuilt docs.


[SVN r57451]
2009-11-07 15:32:45 +00:00
John Maddock
7b10b5dac5 Added possessive modifiers ++ *+ ?+ {}+.
Added support for \v and \h as character classes as per Perl-5.10. 

[SVN r52558]
2009-04-23 09:51:31 +00:00
John Maddock
9ec9aa9cbc Fully qualified use of "extended" flag, to keep gcc on Solaris happy.
[SVN r40086]
2007-10-16 16:11:30 +00:00
John Maddock
1039e64792 Added extra partial match tests to verify bug fix.
[SVN r34029]
2006-05-19 13:09:56 +00:00
John Maddock
10a423db6e Added new tests for newly reported bugs.
[SVN r31493]
2005-10-27 10:25:22 +00:00
John Maddock
40b7a4902f Fixed remaining zero-width assertion issues.
Added separate file instantiation of ICU support templates.
Ensured code is STLport debug mode clean.


[SVN r30980]
2005-09-14 12:20:41 +00:00
John Maddock
233f083720 Updated History.
Added additional tests for regexes that are supposed to be empty.
Added additional test cases for non-greedy repeats.


[SVN r30605]
2005-08-19 16:12:45 +00:00
John Maddock
56fadadba8 More Sunpro std::distance fixes.
Changed Dr John Maddock to John Maddock


[SVN r26793]
2005-01-21 17:28:42 +00:00
John Maddock
71a0e020e2 merged changes in regex5 branch
[SVN r26692]
2005-01-13 17:06:21 +00:00