Commit Graph

60 Commits

Author SHA1 Message Date
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
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
f592693c9b Regex: Fix potential negation of INT_MIN,
see https://oss-fuzz.com/v2/testcase-detail/6646578892767232?noredirect=1.
2017-10-07 17:23:59 +01:00
bc9b25b5d3 Fix potential overflow in max_state_count calculation.
Fixes: https://svn.boost.org/trac10/ticket/13036.
2017-07-31 19:18:10 +01:00
ac3838b622 de-fuzz: fix undefined behaviour in negating enum type 2017-02-21 10:53:53 +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
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
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
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
2d8ee203bf Regex: Remove obsolete GCC version checks.
[SVN r86065]
2013-09-30 15:57:49 +00:00
fded895002 Fix bug in partial matches and POSIX or literal expressions.
[SVN r82673]
2013-01-31 18:31:25 +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
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
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
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
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
4c105a90a1 Changed behaviour of \B so that it succeeds when the neither adjacent character is a word character.
[SVN r45354]
2008-05-14 11:19:58 +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
3f923f1f23 Informative comment
[SVN r32280]
2006-01-10 16:04:17 +00:00
8a06157b46 Added patches from 1.33 branch:
Fix trailing - in ranges so that [a-b-] works.
Fix performance issue: don't call std::distance on bidirectional iterators.


[SVN r31533]
2005-11-01 18:06:19 +00:00
ffa362ce17 Consolidated patches and performance tweeks.
[SVN r31492]
2005-10-27 10:24:50 +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
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
ab6f20486b Fix problem with match_any and POSIX-style matches (match results structure wasn't getting filled in).
Fixed problem with gcc in -pedantic mode.


[SVN r26348]
2004-11-29 13:50:17 +00:00
ca44c8182c Fixed bug with grepping for literals.
Added Sunpro workaround.


[SVN r23093]
2004-06-12 10:10:07 +00:00
1dc081e1c2 Fixed problem with wide character optimisations, changed asserts on pointers (HP-specific workaround).
[SVN r22721]
2004-05-03 11:24:58 +00:00
e3aacc5c55 Fixes for POSIX regexes not grepping correctly.
[SVN r22623]
2004-04-09 15:55:32 +00:00
dc90d07749 Added fix for grepping for POSIX style matches.
[SVN r22621]
2004-04-07 11:04:06 +00:00
3075aaba4a remove minmax hack from win32.hpp and fix all places that could be affected by the minmax macros
[SVN r22394]
2004-02-26 18:27:02 +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
c23a7a8cfe Fixed no exception handling builds
[SVN r20330]
2003-10-10 12:13:23 +00:00
ab5a7a768d Added new licence info.
[SVN r20254]
2003-10-04 11:29:20 +00:00
11ea8aab76 switched over to new Boost Licence
[SVN r20232]
2003-09-30 13:02:51 +00:00
2e1ed31f34 Fixed spelling of "BOOST" - basically a enormous cut and paste error!
[SVN r19581]
2003-08-14 10:22:05 +00:00
e4248fcb19 Moved some config code into boost.config (ABI and lib selection code).
[SVN r19546]
2003-08-12 11:23:02 +00:00