Skip to content

remove default value for regex_provider - #852

Merged
anonrig merged 1 commit into
mainfrom
yagiz/remove-std-regex-provider-as-default
Jan 27, 2025
Merged

remove default value for regex_provider#852
anonrig merged 1 commit into
mainfrom
yagiz/remove-std-regex-provider-as-default

Conversation

@anonrig

@anonrig anonrig commented Jan 27, 2025

Copy link
Copy Markdown
Member

We now require user to explicitly define the regex_provider to accidentaly use std_regex_provider in production. In a follow up pull-request, I'll move std_regex_provider behind ADA_USE_UNSAFE_STD_REGEX_PROVIDER flag to ensure that we only use it while testing.

We can later replace the std::regex implementation with something else, and remove this unsafe flag.

@anonrig
anonrig requested review from jasnell and lemire January 27, 2025 17:06
@anonrig
anonrig force-pushed the yagiz/remove-std-regex-provider-as-default branch from 936046b to 420a6c1 Compare January 27, 2025 17:13
@anonrig
anonrig merged commit 27e7f7c into main Jan 27, 2025
@anonrig
anonrig deleted the yagiz/remove-std-regex-provider-as-default branch January 27, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants