Commit Graph

61 Commits

Author SHA1 Message Date
f64c22870f Fix exception specification and msvc warning push/pop. 2020-01-21 10:14:37 +00:00
2cd947f7c4 Suppress msvc warnings.
Fixes: https://github.com/boostorg/regex/issues/80
2020-01-20 19:51:46 +00:00
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
1480e33dc6 Regex: Fix recursive algorithm builds. 2017-11-09 18:13:16 +00:00
6246f5ec51 Regex: Set a limit on how many recursions we allow. 2017-11-09 11:23:54 +00:00
544e20a339 Regex: Backup and restore internal match_results when saving recursion backtracking info, as well as the state required to restore the recursion stack. Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3478#c1 2017-10-23 18:49:08 +01:00
d97bcfb5dd Fix integer types and signedness:
Fixes https://svn.boost.org/trac10/ticket/13034
2017-07-31 18:51:25 +01:00
edd94320c7 de-fuzz: prevent infinite recursion in recursive expressions (case 14). 2017-02-15 19:44:41 +00:00
febd44ddd6 de-fuzz, first fix for issue 14.
Make zeros in character set a single character long only.
2017-02-14 18:13:32 +00: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
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
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
dbda6314da Initialize all members in initializer list, see https://github.com/boostorg/regex/pull/6 2014-11-13 11:02:36 +00:00
70cd773533 Regex: Remove obsolete MSVC version checks.
[SVN r85921]
2013-09-25 21:16:24 +00:00
0e867247fc Apply patch from #6333.
Fixes #6333.

[SVN r79349]
2012-07-08 11:52:20 +00:00
fa96f4edf1 Change "id" to "idx" to be Objective C++ compatible.
Fixes #2306.
Fixes #4132.
Fixes #4191.

[SVN r61789]
2010-05-05 17:40:07 +00:00
67f5369cae Add support for Boost.Ref in match_results::format.
Update docs accordingly.
Fixes #4020.

[SVN r60678]
2010-03-17 18:20:09 +00:00
50892585d3 Remove dead code.
[SVN r59415]
2010-02-01 13:12:50 +00:00
d686c89333 Improve regex performance on msvc by removing statically allocated recursion stack, and using a std::vector instead.
[SVN r59414]
2010-02-01 13:10:28 +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
5a6bc29d7c Added initial support for recursive expressions.
Updated docs and tests accordingly.

[SVN r54994]
2009-07-17 10:23:50 +00:00
48492bb9b5 Fixes #2713: change table initialisation so that it's initialised statically.
[SVN r51103]
2009-02-08 16:30:45 +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
d70f98e658 Fixes #2306.
Change "id" to "state_id".

[SVN r48751]
2008-09-12 12:40:23 +00:00
4212c0d915 Update TR1 library to cope with GCC-4.3 in C++0x mode, and in TR1 mode.
Updated regex concepts to match the TR1.
Added "tricky" cmath_test to test for the functions Boost doesn't implement.

[SVN r48413]
2008-08-28 11:02:59 +00:00
4a147d198d Fixes track issue #775, see http://svn.boost.org/trac/boost/ticket/775.
All regex code should now compile warning free at level 4 with MSCV.

[SVN r38864]
2007-08-23 09:06:24 +00:00
e7b65221d1 Tidied up msvc-warning suppression code.
[SVN r38562]
2007-08-10 10:11:03 +00:00
1b5dd57cf6 Update heuristics used to determine max state count, following a bug report from SAP.
Updated tests to match.


[SVN r35656]
2006-10-18 12:56:45 +00:00
8ad427474b Remove and update aCC/HPUX fixes.
Fix regex bug report: some repeats match when they should not.
Added test case.


[SVN r35262]
2006-09-21 18:30:27 +00:00
10a3b70df1 suppress gcc -Wshadow warnings.
[SVN r33426]
2006-03-21 18:36:44 +00:00
ffa362ce17 Consolidated patches and performance tweeks.
[SVN r31492]
2005-10-27 10:24:50 +00:00
b5bc6e2be9 Enabled negated character classes inside character sets.
[SVN r31053]
2005-09-20 12:01:25 +00:00
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
90f4367b8d Ported ICU integration code to VC6/7.
Added some needed std lib #includes.
Reworked gcc separate file template instantiation code.


[SVN r30791]
2005-09-03 11:13:28 +00:00
c2de12f113 Disable features that HP aCC can't cope with (gets basic regression tests passing with aCC).
[SVN r29032]
2005-05-18 11:44:12 +00:00
ecd5dd5ff3 Allow sort keys to contain nothing but a single NUL character (characters may be ignorable).
[SVN r27408]
2005-02-17 12:44:16 +00:00
d7e194585d More std::distance fixes for Sunpro.
Changed Dr John Maddock to John Maddock.


[SVN r26791]
2005-01-21 17:22:39 +00:00
71a0e020e2 merged changes in regex5 branch
[SVN r26692]
2005-01-13 17:06:21 +00:00
de0ab9092a Fix for .{n,} failing in partial matches.
Fix for [\x0-\xff] failing in wide character expressions.


[SVN r26566]
2004-12-21 17:07:46 +00:00
7858e47a26 Refactored code so that __try statements only call bool (void) functions.
[SVN r21286]
2003-12-16 13:04:01 +00:00
bf9350aa16 Added new experimental captures support.
[SVN r21243]
2003-12-13 12:28:48 +00:00