jzmaddock
c898c51ea1
Merge branch 'develop' into modules
...
Fixed Conflicts:
include/boost/regex/v5/basic_regex.hpp
include/boost/regex/v5/basic_regex_creator.hpp
include/boost/regex/v5/c_regex_traits.hpp
include/boost/regex/v5/mem_block_cache.hpp
include/boost/regex/v5/regex_format.hpp
include/boost/regex/v5/regex_iterator.hpp
include/boost/regex/v5/regex_raw_buffer.hpp
include/boost/regex/v5/regex_token_iterator.hpp
2024-12-18 17:55:24 +00:00
jzmaddock
57ca08240e
Make backstep calculation non-recursive.
...
Refs https://github.com/boostorg/regex/pull/236 .
2024-12-16 16:58:25 +00:00
Christian Mazakas
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
jzmaddock
9a8d2b13a3
Tentative fix for #227 . ( #230 )
...
Fixes #227 .
2024-11-06 09:20:07 +00:00
Peter Dimov
cff442b3e7
Add VERBATIM to the remaining add_custom_target as well
2024-09-02 10:23:02 +03:00
Rene Rivera
1144c1dad8
Add VERBATIM to add_custom_target
2024-08-08 21:54:58 -05:00
Rene Rivera
cd92ca1ed0
Update build deps.
2024-08-07 23:46:57 -05:00
Rene Rivera
e5a7bbd399
Change all <source> references to <library>.
2024-07-20 19:42:20 -05:00
Rene Rivera
126875cac9
Update library dependencies.
2024-04-29 22:08:35 -05:00
Rene Rivera
8e2a51e905
Add missing lib reference.
2024-04-25 22:56:00 -05:00
jzmaddock
9ddfbd2923
Adjust test script again.
2024-04-19 18:25:36 +01:00
jzmaddock
456bf7756d
More msvc workarounds.
2024-04-19 13:42:43 +01:00
jzmaddock
27a5bcb1f4
TRy again with msvc config.
2024-04-19 13:28:21 +01:00
jzmaddock
d2bfcaf146
Correct msvc version
2024-04-18 20:03:35 +01:00
jzmaddock
736f0de18d
Try again with implementation unit includes.
2024-04-18 20:02:16 +01:00
jzmaddock
cc60bce275
Correct module implementation units.
...
Update script permissions.
2024-04-18 18:14:44 +01:00
jzmaddock
2c0058a902
Hide key template instances behind factory functions.
...
And provide a separate "module library"
Update testing scripts.
2024-04-18 16:37:12 +01:00
Rene Rivera
72652f7cde
Add missing file.
2024-04-10 17:47:08 -05:00
Rene Rivera
8dc1fd4a3b
Update build dependencies and fix test compile error from depending on Boost.Config test files.
2024-04-10 17:46:03 -05:00
Rene Rivera
e5ac7686cd
Sync from upstream.
2024-04-10 08:40:31 -05:00
jzmaddock
fbfdda66fd
Clean up #includes.
2024-04-10 12:28:57 +01:00
jzmaddock
02f8f3119e
Update clang linkage options.
2024-04-06 18:33:44 +01:00
jzmaddock
cf2a60c88b
Add msvc module test.
2024-04-06 17:21:53 +01:00
jzmaddock
9e36a0b67e
Set file permissions.
2024-04-06 16:28:47 +01:00
jzmaddock
ba61613eff
Remove modules Jamfile: it doesn't work.
...
Add shell script for testing modules with clang.
2024-04-06 13:57:40 +01:00
jzmaddock
15acbd5117
Merge branch 'develop' into modules
...
Fixed Conflicts:
include/boost/regex/config.hpp
Also fix up msvc build failures.
Example now build with msvc or with clang. The build script is still hopelessly broken though.
2024-04-04 19:17:39 +01:00
jzmaddock
cb55913293
Remove obsolete Jamfile option.
...
Fixes https://github.com/boostorg/regex/issues/176
2024-03-25 18:18:18 +00:00
Rene Rivera
571fbaf80d
Sync from upstream.
2024-03-23 13:52:44 -05:00
jzmaddock
6579375f35
Remove outdated C++03 code.
2024-03-23 17:45:04 +00:00
jzmaddock
1e0938cca6
Try again with CI.
...
Suppress some warnings.
2024-03-19 17:14:25 +00:00
jzmaddock
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
jzmaddock
b99ec17c8e
Allow use of deprecated header for now.
2024-03-16 19:33:50 +00:00
jzmaddock
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
Rene Rivera
85580fd1ea
Make the library modular usable.
2024-03-11 08:38:17 -05:00
jzmaddock
39e5c86f44
Remove ICU standalone testing for now: it passes locally but not on the remote machine.
2022-12-13 11:34:28 +00:00
jzmaddock
1a750a42d1
Correct CI script, correct ICU testing config.
2022-12-10 11:44:19 +00:00
jzmaddock
3e4bcb75b6
Add testing of standalone mode.
...
Allow tests to be built in standalone mode.
Update CI.
Update docs.
2022-12-09 18:24:24 +00:00
jzmaddock
66389f6e21
Add module support and tests.
2022-04-20 19:39:27 +01:00
jzmaddock
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
jzmaddock
09d0e434dd
Correct directory typo.
2021-10-20 18:54:34 +01:00
jzmaddock
e4923f1cfe
Add static_assert as a CMake dependency.
...
As it's now used by core.
2021-10-20 18:38:39 +01:00
jzmaddock
354e02f141
Correct stack unwinding inside recursions when seeing (*SKIP).
...
Fixes https://github.com/boostorg/regex/issues/152 .
2021-10-20 12:12:57 +01:00
jzmaddock
b10c089aba
Disallow repeating a case-change group.
...
Turn assertion into an error.
Fixes: https://github.com/boostorg/regex/issues/151
2021-10-13 17:59:56 +01:00
jzmaddock
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
jzmaddock
b5cb9b7a99
Merge pull request #161 from boostorg/icu_cmake
...
Update ICU testing and usage.
2021-10-10 19:31:37 +01:00
jzmaddock
fc25325cd2
Update ICU testing and usage.
2021-10-10 15:51:51 +01:00
jzmaddock
1e524968bb
Fix missing #include, fix test cases.
2021-10-09 16:43:53 +01:00
jzmaddock
74347b95af
Allow back references to refer to a capture that hasn't happened yet ("forward reference").
...
Fixes https://github.com/boostorg/regex/issues/133 .
2021-10-08 14:51:01 +01:00
jzmaddock
10cff29314
Change \B to be the opposite of \b.
...
Also update docs.
Fixes https://github.com/boostorg/regex/issues/123 .
2021-10-07 18:52:27 +01:00
jzmaddock
6050fa4fd4
Add some more windows checks, remove outdated CI tests
...
(Xenial is no longer supported).
2021-10-06 08:41:00 +01:00