57ca08240e
Make backstep calculation non-recursive.
...
Refs https://github.com/boostorg/regex/pull/236 .
2024-12-16 16:58:25 +00:00
0cbaa4ef17
fix #232 ( #234 )
...
* add failing test case
* fix issue #232
Credit to OSS-Fuzz for finding the problematic test regexes and configurations.
2024-12-05 13:08:52 +00:00
9a8d2b13a3
Tentative fix for #227 . ( #230 )
...
Fixes #227 .
2024-11-06 09:20:07 +00:00
cd92ca1ed0
Update build deps.
2024-08-07 23:46:57 -05:00
e5a7bbd399
Change all <source> references to <library>.
2024-07-20 19:42:20 -05:00
126875cac9
Update library dependencies.
2024-04-29 22:08:35 -05:00
8e2a51e905
Add missing lib reference.
2024-04-25 22:56:00 -05:00
8dc1fd4a3b
Update build dependencies and fix test compile error from depending on Boost.Config test files.
2024-04-10 17:46:03 -05:00
e5ac7686cd
Sync from upstream.
2024-04-10 08:40:31 -05:00
cb55913293
Remove obsolete Jamfile option.
...
Fixes https://github.com/boostorg/regex/issues/176
2024-03-25 18:18:18 +00:00
571fbaf80d
Sync from upstream.
2024-03-23 13:52:44 -05:00
6579375f35
Remove outdated C++03 code.
2024-03-23 17:45:04 +00:00
1e0938cca6
Try again with CI.
...
Suppress some warnings.
2024-03-19 17:14:25 +00:00
ae34d3cfc5
Rework format string protection to be non-throwing.
...
Remove old test case, fix up tests to disable testing the new issues on the recursive implementation which will be going soon anyway.
2024-03-17 16:12:14 +00:00
b86985e65a
Set a limit on max recursions.
...
Applies to last remaining recursive calls in regex creation, and format string parsing.
Added tests, and updated CI.
2024-03-16 19:06:10 +00:00
85580fd1ea
Make the library modular usable.
2024-03-11 08:38:17 -05:00
76e7a4218e
Fix for building with BOOST_REGEX_MAX_CACHE_BLOCKS=0.
...
Also fix some msvc warnings in test_sets.cpp.
Add test case.
Fixes the issues in https://github.com/boostorg/regex/pull/171
2022-03-07 16:32:43 +00:00
1d17ca9d5d
Add tests for https://github.com/boostorg/regex/issues/153
...
Make runtime errors, regex_error's.
2021-10-12 19:23:18 +01:00
6050fa4fd4
Add some more windows checks, remove outdated CI tests
...
(Xenial is no longer supported).
2021-10-06 08:41:00 +01:00
5ad8906e91
#148 : icu_regex_traits::translate_nocase doesn't use case-folding
...
In translate_nocase replace u_tolower by u_foldCase(c, U_FOLD_CASE_DEFAULT) suitable for single codeunit case folding
2021-08-12 22:07:57 +02:00
c24967709d
Reinstate many workarounds to get older msvc versions compiling.
2020-12-13 18:03:47 +00:00
dba05b4d5b
Remove more old code and enable standalone mode.
2020-12-10 16:47:08 +00:00
c902bed6a3
Remove more workarounds, start testing standalone mode.
2020-12-04 12:16:36 +00:00
678b3f5c4d
Make regex_raw_buffer header only.
2020-11-30 13:21:49 +00:00
9d64cf60ff
Make icu.hpp header only.
2020-11-28 18:28:29 +00:00
c9d389014a
Make w32_regex_traits.hpp header only.
2020-11-28 16:51:39 +00:00
5002272ec8
Make w32_regex_traits.hpp header only.
2020-11-28 12:49:59 +00:00
ddb682a208
Make cpp_regex_traits all inline.
2020-11-27 18:13:59 +00:00
27d2853615
Make c_regex_traits all inline.
...
Fix some C++20 issues.
2020-11-26 20:05:38 +00:00
3c6cf87718
Disable external template instances on cygwin - they lead to duplicate symbols for some reason.
...
See https://github.com/boostorg/regex/issues/64 .
2018-11-11 17:12:56 +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
00e802c671
Add quick
test target (for CI)
2017-12-02 18:24:00 +02:00
a824b7d236
Fix copying of extra match data when using ICU.
...
See: https://svn.boost.org/trac/boost/ticket/12130
2016-06-12 13:09:12 +01: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
5e98fe9a6a
Shared library doesn't work with Oracle compiler.
2015-08-19 18:20:20 +01:00
74d6318135
Add missing function bodies for sub_match::begin/end and enhance tests.
2015-03-19 19:50:00 +00:00
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
bc8cd9e148
Add further error checking to UTF-8 decoding.
...
Fixes #7744 .
[SVN r81614]
2012-11-28 17:57:26 +00:00
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
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
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
a35cb5b902
Shared libraries now finally work with Mingw GCC-4.5.0.
...
[SVN r65807]
2010-10-07 15:40:24 +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
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
f89e00810d
Get gcc linking options consistent.
...
[SVN r62796]
2010-06-11 11:52:25 +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
55d979060c
Add support for named sub-expressions.
...
[SVN r52823]
2009-05-07 09:46:51 +00:00
4c23414558
Removed ICU options from main requirements: BBv2 barfs at it.
...
[SVN r40205]
2007-10-20 09:20:30 +00:00
8627f6266c
Adjust ICU build support: almost works now :-)
...
[SVN r40193]
2007-10-19 17:55:44 +00:00
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