Commit Graph

208 Commits

Author SHA1 Message Date
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
05b582761d Fix case that differs from Perl behavior. 2014-09-25 11:45:26 +01:00
dc63209905 Fix no-exception handling build with GCC. 2013-12-20 11:44:50 +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
55daec294e Fix misc. GCC-4.8 warnings. Refs #8184
[SVN r83980]
2013-04-20 12:14:36 +00:00
fded895002 Fix bug in partial matches and POSIX or literal expressions.
[SVN r82673]
2013-01-31 18:31:25 +00:00
ab6b0d9971 Fix begin() and end() members and add tests.
Fixes #6346.

[SVN r79340]
2012-07-07 18:36:25 +00:00
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
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
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
c485b12568 Fix case change bug.
Fixes #698.

[SVN r74898]
2011-10-10 16:55:27 +00:00
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
2fb19b66e0 Update tests for ICU-4.8 and Unicode version 6.
[SVN r72801]
2011-06-29 18:17:47 +00:00
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
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
463417caba Fix bug that prevents turning off multiple Perl-modifiers at once.
Fixes #5223.

[SVN r69775]
2011-03-09 18:12:18 +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
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
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
528cf2abb9 Some lookbehind assertions were accepted when they should not have been.
Fixes #4309.

[SVN r62563]
2010-06-08 12:41:41 +00:00
eaaf00a924 Fix bug in branch reset code.
[SVN r62478]
2010-06-06 12:38:26 +00:00
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
0e1e9804da Fix bug that effects recursive expressions combined with repeats.
[SVN r58722]
2010-01-05 18:04:08 +00:00
35c63fc141 Fix -Wshadow gcc warnings.
Update and regenerate docs.
Fixes #3718.

[SVN r58154]
2009-12-05 12:15:20 +00:00
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
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
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
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
aa16fa7fa1 Added Perl-5.10 "branch reset" support.
[SVN r52961]
2009-05-13 09:17:36 +00:00
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
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
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
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
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
1012d28c32 Fix for issue #2188.
[SVN r48185]
2008-08-17 11:15:07 +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
b1af72fd23 Ooops, fix broken escape sequence.
[SVN r42745]
2008-01-14 09:46:12 +00:00
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
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
cf876f58f0 Added try...catch around TSS initialisation.
[SVN r41301]
2007-11-22 09:59:38 +00:00
bed800b315 Catch exceptions thrown from thread creation.
[SVN r41089]
2007-11-14 13:03:15 +00:00
9ec9aa9cbc Fully qualified use of "extended" flag, to keep gcc on Solaris happy.
[SVN r40086]
2007-10-16 16:11:30 +00:00
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