Commit Graph

396 Commits

Author SHA1 Message Date
05b582761d Fix case that differs from Perl behavior. 2014-09-25 11:45:26 +01:00
d90fa5bb92 Merge branch 'fix/9544' of https://github.com/pabigot/boost-regex into develop 2014-06-18 17:20:18 +01:00
7a9887f7eb Remove use of deprecated register keyword, see: https://svn.boost.org/trac/boost/ticket/9640 2014-04-24 11:35:58 +01:00
88107e2c7b Revised tentative fix for VC11/12 failures which occur when calling wcsxfrm for "\0". 2014-01-22 19:00:40 +00:00
330a033177 Tentative fix for case where a transformation of a NULL string is requested. 2014-01-22 13:46:38 +00:00
1b8322ecbf fix trac 9544: gcc 4.9.0 -std=c++1y breakage
This is GCC bug PR C++/59681 but the Boost fix is trivial and the GCC
one is (probably) not.

See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59681
2014-01-04 22:03:10 -06:00
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
0983ff065e Fix generic mutex usage, see https://svn.boost.org/trac/boost/ticket/9461. 2013-12-18 18:15:41 +00:00
6230db51b1 Fix for std::locale's which produce collate keys with embedded null's, see https://svn.boost.org/trac/boost/ticket/9451 2013-12-18 16:54:36 +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
956d3c4bcf Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
2013-10-11 23:20:59 +00:00
2d8ee203bf Regex: Remove obsolete GCC version checks.
[SVN r86065]
2013-09-30 15:57:49 +00:00
49b7f2c8f9 Regex: Remove obsolete MSVC version check.
[SVN r86020]
2013-09-30 00:17:24 +00:00
70cd773533 Regex: Remove obsolete MSVC version checks.
[SVN r85921]
2013-09-25 21:16:24 +00:00
7158ab5734 Regex: Remove use of obsolete macro for template types and args.
[SVN r85914]
2013-09-25 21:13:11 +00:00
9fccd1ca89 Regex: Remove ATL specific define for old MSVC.
[SVN r85913]
2013-09-25 21:12:55 +00:00
d6b0b18650 Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro.
[SVN r85896]
2013-09-25 10:29:44 +00:00
82e0fc2222 Optimise iterator advances for slow (non-random access) iterators.
[SVN r84999]
2013-07-10 16:10:44 +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
8a16bff57a Apply updated patches from #8476.
Fixes #8476.

[SVN r84052]
2013-04-26 10:33:22 +00:00
eed2a486c4 Apply patch from #8476.
Fixes #8476.

[SVN r84015]
2013-04-22 17:29:50 +00:00
55daec294e Fix misc. GCC-4.8 warnings. Refs #8184
[SVN r83980]
2013-04-20 12:14:36 +00:00
06463bec85 Warning suppression.
Fixes #8036.

[SVN r82831]
2013-02-12 17:05:01 +00:00
fded895002 Fix bug in partial matches and POSIX or literal expressions.
[SVN r82673]
2013-01-31 18:31:25 +00:00
1f24ceed4c Add some casts to suppress GCC warnings.
[SVN r82662]
2013-01-28 19:19:56 +00:00
4162776575 Add missing optimization for leading .* repeats.
Fixes #7758.

[SVN r81705]
2012-12-04 16:51:18 +00:00
e2632f2f2f Suppress GCC warning and update History log.
Regenerate docs.
Fixes #7644.

[SVN r81620]
2012-11-29 10:28:07 +00:00
bc8cd9e148 Add further error checking to UTF-8 decoding.
Fixes #7744.

[SVN r81614]
2012-11-28 17:57:26 +00:00
82610247fc Removed missed usage of deprecated macros in Boost.Regex
[SVN r81587]
2012-11-27 14:28:12 +00:00
0e867247fc Apply patch from #6333.
Fixes #6333.

[SVN r79349]
2012-07-08 11:52:20 +00:00
1567185ba2 Add workaround for old broken compilers that don't support template construct/assign to containers.
Fixes #6680.

[SVN r79342]
2012-07-08 07:54:35 +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
e18682ca74 Fix some Valgrind reported issues in regex parsing.
[SVN r78940]
2012-06-14 08:37:53 +00:00
1f016f6999 Fix some more GCC warnings.
Fix previous warning suppression which broke tests with GCC.
Refs #6863.

[SVN r78480]
2012-05-15 16:09:12 +00:00
543e912e14 Fix clang warnings.
Fixes #6863.

[SVN r78431]
2012-05-12 08:11:01 +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
9ab4fb9eff Fix bug in object_cache.hpp
Fixes #6440.

[SVN r76775]
2012-01-29 13:33:03 +00:00
ed90c8cec5 Fix pp-logic.
Refs #6359.

[SVN r76324]
2012-01-05 17:31:34 +00:00
eedb7b5063 Add workaround for Intel-12.1 on Windows.
Fixes #6359.

[SVN r76319]
2012-01-05 13:33:48 +00:00
e389d92752 Add BOOST_REGEX_NO_FASTCALL config macro and regenerate docs.
Fixes #6245.

[SVN r76140]
2011-12-24 18:04:37 +00:00
806a0ed81a Fix typos.
Refs #6003.

[SVN r76138]
2011-12-24 17:31:27 +00:00
c485b12568 Fix case change bug.
Fixes #698.

[SVN r74898]
2011-10-10 16:55:27 +00:00
f04f7605ce Improve sprintf usage.
Stop passing UDT's through (...) even in meta programs.
Fixes #5958.
Refs #5835.


[SVN r74897]
2011-10-10 15:46:07 +00:00
cc03c77deb Fix code to use checked iterators.
[SVN r74855]
2011-10-09 17:37:05 +00:00
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
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
6c181b02ba Add some typecasts to prevent copying a buffer twice (makes sure we find the correct overload of assign).
[SVN r72541]
2011-06-10 17:17:14 +00:00
27ad285fbf Fix access violation caused by past-the-end iterator deference for expressions such as ".*?".
[SVN r72540]
2011-06-10 17:03:48 +00:00
829f4fd8ab Suppress msvc warning.
Fixes #5504.

[SVN r71496]
2011-04-26 08:12:27 +00:00