jzmaddock
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
jzmaddock
9a36e035f2
Add support for PRUNE and SKIP (no MARK's though).
2015-10-01 18:34:59 +01:00
jzmaddock
83140ddbed
Fix up recursive implementation of ACCEPT and COMMIT.
2015-09-30 18:47:59 +01:00
jzmaddock
b208ef4eed
Get commit working in recursive mode.
2015-09-29 19:20:09 +01:00
jzmaddock
c281c9cc40
Add COMMIT support plus lots of tests.
2015-09-29 17:40:43 +01:00
jzmaddock
2580fb035f
Add support for ACCEPT verb.
2015-09-26 18:47:39 +01:00
jzmaddock
b557febb0e
Start adding Perl verb support with FAIL as the first supported verb.
2015-09-25 19:30:20 +01:00
jzmaddock
5e98fe9a6a
Shared library doesn't work with Oracle compiler.
2015-08-19 18:20:20 +01:00
jzmaddock
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
jzmaddock
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
jzmaddock
74d6318135
Add missing function bodies for sub_match::begin/end and enhance tests.
2015-03-19 19:50:00 +00:00
jzmaddock
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
jzmaddock
05b582761d
Fix case that differs from Perl behavior.
2014-09-25 11:45:26 +01:00
jzmaddock
7bdb2122d4
Remove dead file.
2014-06-29 17:47:30 +01:00
John Maddock
dc63209905
Fix no-exception handling build with GCC.
2013-12-20 11:44:50 +00:00
jzmaddock
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
jzmaddock
d9cb36d0d3
Fix GCC test compiles with exception handling disabled.
2013-12-18 17:06:08 +00:00
jzmaddock
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
John Maddock
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
John Maddock
55daec294e
Fix misc. GCC-4.8 warnings. Refs #8184
...
[SVN r83980]
2013-04-20 12:14:36 +00:00
John Maddock
fded895002
Fix bug in partial matches and POSIX or literal expressions.
...
[SVN r82673]
2013-01-31 18:31:25 +00:00
John Maddock
bc8cd9e148
Add further error checking to UTF-8 decoding.
...
Fixes #7744 .
[SVN r81614]
2012-11-28 17:57:26 +00:00
John Maddock
ab6b0d9971
Fix begin() and end() members and add tests.
...
Fixes #6346 .
[SVN r79340]
2012-07-07 18:36:25 +00:00
John Maddock
3bfba1a7cf
Fix regex_iterator and regex_replace to do what grep/sed do for multiple repeats when matching in POSIX mode.
...
Fixes #589 .
[SVN r79339]
2012-07-07 18:08:01 +00:00
John Maddock
862f6c1515
Fix use of wide character strings so they conform to the new C++11 rules.
...
[SVN r78218]
2012-04-27 11:35:22 +00:00
John Maddock
b45d6bb70c
Fix issue with (?!) not being a valid expression. Update tests and docs to match.
...
[SVN r77602]
2012-03-28 12:00:34 +00:00
John Maddock
eecd107870
Added missing typename.
...
[SVN r74900]
2011-10-10 17:51:27 +00:00
John Maddock
c485b12568
Fix case change bug.
...
Fixes #698 .
[SVN r74898]
2011-10-10 16:55:27 +00:00
John Maddock
852bc502cf
Allow source to be built by #including all the source files in a single TU.
...
Fixes #5736 .
[SVN r74896]
2011-10-10 15:09:40 +00:00
John Maddock
d08bfeff25
Add checked constructors to the Unicode iterators that need them.
...
Update icu support code to use the new checking-constructors.
Update tests to check the full Unicode character range (as of Unicode V6).
Add minimal docs describing the iterators.
[SVN r73271]
2011-07-21 10:01:09 +00:00
John Maddock
03ef9626ba
Set the Unicode locale to a "know good", otherwise a few tests fail on Linux.
...
[SVN r72816]
2011-06-30 12:23:43 +00:00
John Maddock
2fb19b66e0
Update tests for ICU-4.8 and Unicode version 6.
...
[SVN r72801]
2011-06-29 18:17:47 +00:00
John Maddock
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
John Maddock
337f7036df
Apply patches from #5462 .
...
Add new test case to verify patches are actually working and prevent future breakage!
Fixes #5462 .
[SVN r71240]
2011-04-14 07:53:28 +00:00
John Maddock
463417caba
Fix bug that prevents turning off multiple Perl-modifiers at once.
...
Fixes #5223 .
[SVN r69775]
2011-03-09 18:12:18 +00:00
John Maddock
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
John Maddock
a35cb5b902
Shared libraries now finally work with Mingw GCC-4.5.0.
...
[SVN r65807]
2010-10-07 15:40:24 +00:00
John Maddock
77771ee209
Use call_once in test code to avoid race condition which may otherwise occur.
...
[SVN r65702]
2010-10-01 08:03:51 +00:00
John Maddock
f4d925ad3b
Up the warning level, and fix the resulting warnings with msvc, gcc and Intel.
...
Fix bug in docs and regenerate.
[SVN r65208]
2010-09-03 08:33:13 +00:00
John Maddock
5cef38cfc3
Update the type_traits library to handle rvalue references.
...
Add is_lvalue_reference and is_rvalue_reference traits.
[SVN r63486]
2010-07-01 15:55:48 +00:00
John Maddock
f89e00810d
Get gcc linking options consistent.
...
[SVN r62796]
2010-06-11 11:52:25 +00:00
John Maddock
528cf2abb9
Some lookbehind assertions were accepted when they should not have been.
...
Fixes #4309 .
[SVN r62563]
2010-06-08 12:41:41 +00:00
John Maddock
eaaf00a924
Fix bug in branch reset code.
...
[SVN r62478]
2010-06-06 12:38:26 +00:00
John Maddock
2e41f13526
Change regex to make use of new Boost.Config macros.
...
[SVN r62331]
2010-05-30 17:24:45 +00:00
John Maddock
05636b5c89
Fix numerous VC-10 compiler warnings.
...
Rewrite ICU configuration to use the new Boost.Build configuration logic.
[SVN r61893]
2010-05-10 12:13:49 +00:00
John Maddock
0e1e9804da
Fix bug that effects recursive expressions combined with repeats.
...
[SVN r58722]
2010-01-05 18:04:08 +00:00
John Maddock
35c63fc141
Fix -Wshadow gcc warnings.
...
Update and regenerate docs.
Fixes #3718 .
[SVN r58154]
2009-12-05 12:15:20 +00:00
John Maddock
a83329dd28
Allow std::locale's to not have a messages facet installed (fixes some STLPort issues).
...
Allow match_results to handle singular iterators.
Update docs to match.
[SVN r57860]
2009-11-23 10:45:44 +00:00
John Maddock
97005c2017
Suppress external templates with Mingw32 - it seems to cause issues with dll's.
...
Fix match_results.swap.
Add missing namespace qualifiers to ICU code: fixes #3631 .
[SVN r57739]
2009-11-18 09:59:42 +00:00
John Maddock
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
Troy D. Straszheim
17ad2e9302
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
John Maddock
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
Troy D. Straszheim
78f1066b1f
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
John Maddock
5a6bc29d7c
Added initial support for recursive expressions.
...
Updated docs and tests accordingly.
[SVN r54994]
2009-07-17 10:23:50 +00:00
John Maddock
aa16fa7fa1
Added Perl-5.10 "branch reset" support.
...
[SVN r52961]
2009-05-13 09:17:36 +00:00
John Maddock
9d18ba1151
Add support for named and/or subexpressions with indexes > 99 in conditional format expressions.
...
[SVN r52873]
2009-05-10 09:14:46 +00:00
John Maddock
55d979060c
Add support for named sub-expressions.
...
[SVN r52823]
2009-05-07 09:46:51 +00:00
John Maddock
30941e330d
Added support for \g \K and \R.
...
[SVN r52592]
2009-04-25 17:32:49 +00:00
John Maddock
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
John Maddock
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
John Maddock
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
Michael A. Jackson
330f23e84c
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
85192b703d
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
John Maddock
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
John Maddock
1012d28c32
Fix for issue #2188 .
...
[SVN r48185]
2008-08-17 11:15:07 +00:00
John Maddock
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
John Maddock
b1af72fd23
Ooops, fix broken escape sequence.
...
[SVN r42745]
2008-01-14 09:46:12 +00:00
John Maddock
299086b99c
Fix bugs reported by Will Drewry: certain invalid regexes can cause the library to access invalid memory, changed to ensure that the correct exception is thrown long before this happens.
...
[SVN r42674]
2008-01-11 09:55:43 +00:00
John Maddock
4199529fd0
Apply patches for building regex on WinCE see: http://lists.boost.org/Archives/boost/2007/11/130839.php
...
[SVN r41327]
2007-11-24 12:25:25 +00:00
John Maddock
cf876f58f0
Added try...catch around TSS initialisation.
...
[SVN r41301]
2007-11-22 09:59:38 +00:00
John Maddock
bddeb83175
Changed test to catch throw exceptions from thread creation.
...
[SVN r41172]
2007-11-17 18:41:29 +00:00
John Maddock
bed800b315
Catch exceptions thrown from thread creation.
...
[SVN r41089]
2007-11-14 13:03:15 +00:00
John Maddock
4c23414558
Removed ICU options from main requirements: BBv2 barfs at it.
...
[SVN r40205]
2007-10-20 09:20:30 +00:00
John Maddock
8627f6266c
Adjust ICU build support: almost works now :-)
...
[SVN r40193]
2007-10-19 17:55:44 +00:00
John Maddock
73e23ab857
Updates to build system: Sun and SGI compilers have a problem doing a shared link, and some platforms don't have an icudata library.
...
[SVN r40128]
2007-10-17 17:15:53 +00:00
John Maddock
9ec9aa9cbc
Fully qualified use of "extended" flag, to keep gcc on Solaris happy.
...
[SVN r40086]
2007-10-16 16:11:30 +00:00
Anthony Williams
e1484fc788
Changed call_once to header-only template that takes arbitrary function objects; this changes parameter order
...
[SVN r39701]
2007-10-05 12:10:06 +00:00
John Maddock
c1d0501834
Added optional code to test SGI rope with Regex.
...
[SVN r39177]
2007-09-10 10:37:19 +00:00
John Maddock
cc45c73234
Fixed include guard.
...
[SVN r38838]
2007-08-22 12:56:39 +00:00
Vladimir Prus
474822492b
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
John Maddock
f4877f6698
Added new example.
...
Updated ICU support for VC8
[SVN r37738]
2007-05-22 09:47:28 +00:00
John Maddock
4f3f622806
Added new test for Perl style formatting with \u and \l.
...
[SVN r37229]
2007-03-19 13:21:05 +00:00
John Maddock
bb7b1c8def
Change asserts to tests.
...
[SVN r37080]
2007-02-26 09:46:39 +00:00
John Maddock
cce38359c9
reduce thread load so test completes faster.
...
[SVN r37060]
2007-02-25 10:36:06 +00:00
John Maddock
3c07ee04de
Disable typeid useage with VC6.
...
[SVN r36592]
2007-01-05 13:25:04 +00:00
John Maddock
5e5e24e476
bbv2 updates.
...
[SVN r36551]
2006-12-31 17:26:12 +00:00
John Maddock
2a87146c18
Fix for grep and egrep syntax types, plus tests.
...
[SVN r36470]
2006-12-20 17:19:25 +00:00
John Maddock
d9df4f8154
Fix for msvc-6 in multithreaded test mode.
...
[SVN r36344]
2006-12-12 09:57:35 +00:00
John Maddock
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
John Maddock
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
John Maddock
4a89e84d7d
Fixed const-correctness bugs.
...
[SVN r34785]
2006-07-30 16:14:16 +00:00
John Maddock
2f4bde27e0
Added additional thread safety tests.
...
[SVN r34775]
2006-07-29 16:02:56 +00:00
John Maddock
c8ed5f2b74
Disable new test for VC6.
...
[SVN r34744]
2006-07-26 17:00:36 +00:00
John Maddock
cb519993c4
Test case for bug report 1526472.
...
[SVN r34682]
2006-07-23 17:32:03 +00:00
John Maddock
b8dce0792f
Added needed license info.
...
[SVN r34563]
2006-07-16 17:24:25 +00:00
John Maddock
911602a41d
Non-greedy repeat tests added.
...
[SVN r34492]
2006-07-10 09:37:05 +00:00
John Maddock
c666793a92
Changed test names to prevent directory/test name conflict.
...
[SVN r34221]
2006-06-07 16:38:23 +00:00
John Maddock
1039e64792
Added extra partial match tests to verify bug fix.
...
[SVN r34029]
2006-05-19 13:09:56 +00:00
Vladimir Prus
ead52f741a
Fix isses with setting BOOST_REGEX_DYN_LINK when linking to static regex lib.
...
[SVN r32956]
2006-02-16 09:23:40 +00:00
Vladimir Prus
467bad9f89
Update Jamfile.v2
...
[SVN r32731]
2006-02-08 12:02:22 +00:00