Commit Graph

279 Commits

Author SHA1 Message Date
f949e55e9c Regex: Add better tests for skipping of comments in expressions. 2017-10-26 18:04:41 +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
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
289ce86488 Regex: move boost headers to top of list to work around clang issue which requires workarounds present in config.hpp. 2017-09-21 17:15:51 +01:00
09894a5e21 Fix escapes in test case. 2017-08-04 09:08:12 +01:00
a32e0cc9d3 Fix pattern escaping in regex used for \R so it works when the x-modifier is in effect.
Fixes: https://svn.boost.org/trac10/ticket/12960
2017-08-03 18:04:41 +01:00
5c543a8e2b Copy named sub-expression info when adapting ICU via iterators.
Fixes: https://svn.boost.org/trac10/ticket/13126.
2017-08-01 19:43:44 +01:00
e7aec5355c de-fuzz: Add Jamfile 2017-02-22 18:26:59 +00:00
3000f19274 Add wide character test case and corpus 2017-02-22 17:02:34 +00:00
555bedc97d de-fuzz: add new corpus files 2017-02-22 13:11:01 +00:00
ac3838b622 de-fuzz: fix undefined behaviour in negating enum type 2017-02-21 10:53:53 +00:00
d1789c75da de-fuzz: generate first corpus files. 2017-02-21 18:00:08 +00:00
559f24d6d0 Add first de-fuzzer files 2017-02-20 14:55:55 +00:00
94cd9e582b Simplify adding items to lists, and fix Jamfile build failure. 2017-02-20 13:44:24 +00:00
edd94320c7 de-fuzz: prevent infinite recursion in recursive expressions (case 14). 2017-02-15 19:44:41 +00:00
52169ab43f Fix missing include. 2016-07-31 18:44:33 +01:00
a824b7d236 Fix copying of extra match data when using ICU.
See: https://svn.boost.org/trac/boost/ticket/12130
2016-06-12 13:09:12 +01: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
9059bfb5c6 Fix case-sensitivity change behaviour.
See https://svn.boost.org/trac/boost/ticket/11205.
Update docs to match.
2016-03-14 19:22:18 +00:00
3ea03e364c Fix test on compilers without char32_t
As the include for BOOST_NO_CXX11_CHAR32_T was missing, the test didn't compile.
2016-03-11 17:23:53 +01:00
e217808156 Fix declaration order in test case 2016-02-17 19:57:49 +00:00
36b2fab227 Add file missed in previous commit. 2016-02-17 19:24:19 +00: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
6b36c9a7c6 Fix valgrind detected issues 2015-10-23 13:07:04 +01:00
afca81cd76 disambiguate "extended" 2015-10-22 18:02:43 +01:00
b4541fa88e Qualify some ambiguous names. 2015-10-22 13:33:25 +01:00
d4367c9aad Fix #include spelling 2015-10-16 17:05:33 +01:00
0d5359b928 Add missing #include. 2015-10-16 17:04:25 +01:00
3939d1a1a4 change detail/ to core/ 2015-10-08 10:47:35 +01:00
09e789b4c6 Remove all uses of Boost.Test. 2015-10-08 10:06:34 +01:00
201d3a424e Add recursive implementation of THEN. 2015-10-05 18:27:37 +01:00
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
83140ddbed Fix up recursive implementation of ACCEPT and COMMIT. 2015-09-30 18:47:59 +01:00
b208ef4eed Get commit working in recursive mode. 2015-09-29 19:20:09 +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
5e98fe9a6a Shared library doesn't work with Oracle compiler. 2015-08-19 18:20: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
297e87360c Fix for bug in recursive expressions, see http://lists.boost.org/Archives/boost/2015/03/221018.php 2015-03-24 19:09:17 +00:00
74d6318135 Add missing function bodies for sub_match::begin/end and enhance tests. 2015-03-19 19:50:00 +00:00
3fde6e8ddd Make sub_match a valid range as per https://svn.boost.org/trac/boost/ticket/11036 2015-03-19 18:14:41 +00:00
05b582761d Fix case that differs from Perl behavior. 2014-09-25 11:45:26 +01:00
7bdb2122d4 Remove dead file. 2014-06-29 17:47:30 +01:00
dc63209905 Fix no-exception handling build with GCC. 2013-12-20 11:44:50 +00:00
f1aa75af2c Add checks for invalid UTF-8 sequences, see: https://svn.boost.org/trac/boost/ticket/9473 2013-12-19 10:48:06 +00:00
d9cb36d0d3 Fix GCC test compiles with exception handling disabled. 2013-12-18 17:06:08 +00:00
937cd366c5 BREAKING CHANGE: change mark_count to do what's documented (and what the std does).
See https://svn.boost.org/trac/boost/ticket/9227.
2013-12-14 17:43:24 +00:00
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