3693a5de10
Regex: previous fix could go into infinite loop when a comment was followed by a "(", fix that.
2017-10-26 13:05:33 +01:00
50453e319a
Regex: Repeating a repeat is not allowed, even if there is a comment block in between the two.
...
Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3479#c2
2017-10-24 17:56:02 +01:00
7de023237f
Regex: Add a hard limit on the number of nested parenthesis allowed.
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3471#c2 .
2017-10-19 18:23:43 +01:00
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
881a157243
Regex: Fix integer overflow in expression parsing.
...
See: https://oss-fuzz.com/v2/testcase-detail/6189682419302400?noredirect=1
2017-10-07 09:47:19 +01:00
93926479e3
de-fuzz: suppress a couple of warnings introduced by de-fuzzing fixes.
2017-02-22 18:46:34 +00:00
2e7e73aecf
de-fuzz: Prevent excessive left shifts
2017-02-22 12:52:53 +00:00
f301f3a412
de-fuzz: previous fix broke some code, re-fix it.
2017-02-21 12:43:08 +00:00
ae9f38e178
de-fuzz: Failed Pearl verbs should fail better and louder.
2017-02-18 13:04:34 +00:00
2cb49b97da
de-fuzz: Fix case 0 again.
2017-02-14 17:38:47 +00:00
8337584087
De-Fuzz: Fixes for issues 0 and 3 from #12818 :
...
Prevent left shifting by more bits than there are in type unsigned, and
Check that alternative points to a valid state before accessing it: we may not have constructed that state yet in a fail situation.
2017-02-12 19:57:35 +00:00
7719dedbaf
Fix buffer over-run error when parsing invalid regex.
...
See: https://svn.boost.org/trac/boost/ticket/12222 .
2016-06-09 19:00:29 +01:00
955d077d2b
Allow types wider than int in \x{} expressions (for char32_t etc).
...
Fixes: https://svn.boost.org/trac/boost/ticket/11988 .
2016-02-17 18:58:05 +00:00
2a525e5aa6
avoid duplicate check of markid.
...
Markid is already checked to be >0.
2015-11-03 14:12:17 +05:30
7a4e883675
Get THEN working for non-recursive implementation.
...
Fix various bugs in the other verbs exposed by new tests.
2015-10-04 19:28:25 +01:00
9a36e035f2
Add support for PRUNE and SKIP (no MARK's though).
2015-10-01 18:34:59 +01:00
c281c9cc40
Add COMMIT support plus lots of tests.
2015-09-29 17:40:43 +01:00
2580fb035f
Add support for ACCEPT verb.
2015-09-26 18:47:39 +01:00
b557febb0e
Start adding Perl verb support with FAIL as the first supported verb.
2015-09-25 19:30:20 +01:00
6ffcc5ede0
Change detail namespace.
...
Big search and replace to change name of internal namepace so it's mangled with the Boost version number - the aim is to reduce the chances of mixing different header and library versions.
2015-04-04 19:10:37 +01:00
115c4e7f42
Fix typo, see https://svn.boost.org/trac/boost/ticket/10268
2014-11-13 11:23:12 +00:00
05b582761d
Fix case that differs from Perl behavior.
2014-09-25 11:45:26 +01:00
1b8322ecbf
fix trac 9544: gcc 4.9.0 -std=c++1y breakage
...
This is GCC bug PR C++/59681 but the Boost fix is trivial and the GCC
one is (probably) not.
See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59681
2014-01-04 22:03:10 -06:00
b738a55e0d
Merge regex bug fix.
...
Refs #8569 .
[SVN r84463]
2013-05-24 17:09:40 +00:00
f6870ad64a
Merge minor fixes from Trunk.
...
[SVN r83498]
2013-03-19 18:48:24 +00:00
a26d66b688
Merge collected bug fixes from Trunk:
...
Refs #589 .
Refs #7032 .
Refs #7084 .
Refs #6346 .
[SVN r79556]
2012-07-16 08:38:23 +00:00
5964976b93
Merge warning fixes from Trunk.
...
Merge Documentation fixes from Trunk.
Merge updated makefiles from Trunk.
[SVN r78577]
2012-05-24 10:03:48 +00:00
090520dbb4
Merge regex changes from Trunk.
...
[SVN r76192]
2011-12-26 18:28:30 +00:00
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
27ad285fbf
Fix access violation caused by past-the-end iterator deference for expressions such as ".*?".
...
[SVN r72540]
2011-06-10 17:03:48 +00:00
463417caba
Fix bug that prevents turning off multiple Perl-modifiers at once.
...
Fixes #5223 .
[SVN r69775]
2011-03-09 18:12:18 +00:00
29088ce346
Fix code to handle multiple named-subexpressions with the same name.
...
Updated test cases to match.
[SVN r65943]
2010-10-13 16:53:13 +00:00
ae013c447c
In Perl mode then "something+++" should be an error.
...
Add the necessary error handling.
Fixes #4608 .
[SVN r65145]
2010-08-31 11:25:56 +00:00
eaaf00a924
Fix bug in branch reset code.
...
[SVN r62478]
2010-06-06 12:38:26 +00:00
0e1e9804da
Fix bug that effects recursive expressions combined with repeats.
...
[SVN r58722]
2010-01-05 18:04:08 +00:00
ff4eaacbc4
Symbian patches.
...
Fixes #3764 .
Fixes #3763 .
[SVN r58342]
2009-12-13 11:40:28 +00:00
35c63fc141
Fix -Wshadow gcc warnings.
...
Update and regenerate docs.
Fixes #3718 .
[SVN r58154]
2009-12-05 12:15:20 +00:00
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
9188464e39
Tighten up error handling and checking.
...
[SVN r57133]
2009-10-24 15:51:57 +00:00
75b99d3a37
Suppress GCC warnings.
...
[SVN r55688]
2009-08-20 17:27:24 +00:00
66b633b417
Added support for (?(DEFINE) blocks and updated the docs accordingly.
...
Added support for ICU libraries which may be named icui18n.lib on some Win32 platforms.
[SVN r55267]
2009-07-29 17:11:56 +00:00
5a6bc29d7c
Added initial support for recursive expressions.
...
Updated docs and tests accordingly.
[SVN r54994]
2009-07-17 10:23:50 +00:00
aa16fa7fa1
Added Perl-5.10 "branch reset" support.
...
[SVN r52961]
2009-05-13 09:17:36 +00:00
55d979060c
Add support for named sub-expressions.
...
[SVN r52823]
2009-05-07 09:46:51 +00:00
30941e330d
Added support for \g \K and \R.
...
[SVN r52592]
2009-04-25 17:32:49 +00:00
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
15d3eb8f57
Workarounds to allow compilation by Sun studio without the -library=stlport4 option.
...
[SVN r51221]
2009-02-12 18:11:43 +00:00
840a4ce2f5
Fix gcc warnings.
...
[SVN r50377]
2008-12-24 10:14:55 +00:00
e4b31ea37f
Empty expressions, and empty alternatives are now
...
allowed when using the Perl regular expression syntax. This change has
been added for Perl compatibility, when the new [syntax_option_type]
['no_empty_expressions] is set then the old behaviour is preserved and
empty expressions are prohibited. This is issue
[@https://svn.boost.org/trac/boost/ticket/1081 #1081 ].
Fixes #1081 .
[SVN r50374]
2008-12-23 19:06:04 +00:00
b4152cd74d
Fix gcc warnings from ICU wrappers.
...
Add optional support for marked sub-expression location information.
Add support for ${n} in format replacement text.
Fixes #2556 .
Fixes #2269 .
Fixes #2514 .
[SVN r50370]
2008-12-23 11:46:00 +00:00