Commit Graph

298 Commits

Author SHA1 Message Date
jzmaddock
18e7b8c463 Merge branch 'develop' 2019-02-24 09:17:34 +00:00
jzmaddock
3c6cf87718 Disable external template instances on cygwin - they lead to duplicate symbols for some reason.
See https://github.com/boostorg/regex/issues/64.
2018-11-11 17:12:56 +00:00
jzmaddock
c653a0bf05 Merge branch 'develop' 2018-09-15 08:59:28 +01:00
jzmaddock
8a31a996b8
Merge pull request #63 from jeking3/warnings
resolve some warnings
2018-08-25 18:11:20 +01:00
jzmaddock
5177518fe3 Fix missing \n at end of file,
Fix some clang warnings.
Add gcc 7&8 to CI tests.
2018-07-22 18:25:35 +01:00
jzmaddock
7b2ccc0095 Tentative fix for msvc warnings.
See https://github.com/boostorg/regex/issues/61.
Adds warning test case.
2018-07-22 17:16:21 +01:00
jzmaddock
2517588955 Fix \R when no_escapes_in_list flag is set.
Fixes: https://github.com/boostorg/regex/issues/57
2018-07-22 11:26:33 +01:00
jzmaddock
231dbc3ebf Correct behaviour of \b when matching null-strings.
See https://github.com/boostorg/regex/issues/40
2018-07-21 15:19:41 +01:00
James E. King III
39f1cc0238 resolve some warnings 2018-07-20 18:29:11 +00:00
John Maddock
35fbb2e5e2 Disable some std::locale tests with VC15.7 as they (incorrectly) assert in the C runtime. 2018-07-17 19:36:03 +01:00
jzmaddock
3043906da2 Regex.ICU: use BOOST_REGEX_UCHAR_IS_WCHAR_T in a few other places, and improve concept checks. 2017-12-24 18:39:54 +00:00
Daniela Engert
cc5a4e85ae
Inheriting std::iterator is deprecated in c++17.
Therefore replace the inheritance by lifting std::iterator's members into the derived class. Fortunately, this is already done in Boost.Regex so that dropping the inheritance is a no-brainer.

Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-12-22 15:59:49 +01:00
Peter Dimov
47be67134a Fix -Wshadow warnings in quick.cpp 2017-12-03 00:36:11 +02:00
Peter Dimov
00e802c671 Add quick test target (for CI) 2017-12-02 18:24:00 +02:00
jzmaddock
a9fc8fb5de
Merge pull request #50 from boostorg/develop
Merge Fuzz-bug fixes from develop
2017-11-24 17:25:41 +00:00
jzmaddock
e94f079215 Regex: fix locale specific tests so they do all pass now! 2017-11-09 11:31:48 +00:00
jzmaddock
b3f73b4792
Merge pull request #48 from boostorg/develop
Merge de-fuzz fixes from develop.
2017-10-29 17:03:03 +00:00
jzmaddock
f949e55e9c Regex: Add better tests for skipping of comments in expressions. 2017-10-26 18:04:41 +01:00
jzmaddock
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
jzmaddock
5bc2a4a301 Merge pull request #39 from boostorg/develop
Merge develop to master
2017-10-09 18:27:25 +01:00
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
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
jzmaddock
09894a5e21 Fix escapes in test case. 2017-08-04 09:08:12 +01:00
jzmaddock
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
jzmaddock
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
jzmaddock
8191d58266 Remove corpus files from master - we don't need them here! 2017-03-03 09:18:29 +00:00
jzmaddock
e7aec5355c de-fuzz: Add Jamfile 2017-02-22 18:26:59 +00:00
jzmaddock
3000f19274 Add wide character test case and corpus 2017-02-22 17:02:34 +00:00
jzmaddock
555bedc97d de-fuzz: add new corpus files 2017-02-22 13:11:01 +00:00
jzmaddock
ac3838b622 de-fuzz: fix undefined behaviour in negating enum type 2017-02-21 10:53:53 +00:00
jzmaddock
d1789c75da de-fuzz: generate first corpus files. 2017-02-21 18:00:08 +00:00
jzmaddock
559f24d6d0 Add first de-fuzzer files 2017-02-20 14:55:55 +00:00
jzmaddock
94cd9e582b Simplify adding items to lists, and fix Jamfile build failure. 2017-02-20 13:44:24 +00:00
jzmaddock
edd94320c7 de-fuzz: prevent infinite recursion in recursive expressions (case 14). 2017-02-15 19:44:41 +00:00
jzmaddock
52169ab43f Fix missing include. 2016-07-31 18:44:33 +01:00
jzmaddock
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
jzmaddock
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
jzmaddock
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
Marcel Raad
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
jzmaddock
e217808156 Fix declaration order in test case 2016-02-17 19:57:49 +00:00
jzmaddock
36b2fab227 Add file missed in previous commit. 2016-02-17 19:24:19 +00:00
jzmaddock
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
jzmaddock
6b36c9a7c6 Fix valgrind detected issues 2015-10-23 13:07:04 +01:00
jzmaddock
afca81cd76 disambiguate "extended" 2015-10-22 18:02:43 +01:00
jzmaddock
b4541fa88e Qualify some ambiguous names. 2015-10-22 13:33:25 +01:00
jzmaddock
d4367c9aad Fix #include spelling 2015-10-16 17:05:33 +01:00
jzmaddock
0d5359b928 Add missing #include. 2015-10-16 17:04:25 +01:00
jzmaddock
3939d1a1a4 change detail/ to core/ 2015-10-08 10:47:35 +01:00
jzmaddock
09e789b4c6 Remove all uses of Boost.Test. 2015-10-08 10:06:34 +01:00
jzmaddock
201d3a424e Add recursive implementation of THEN. 2015-10-05 18:27:37 +01:00