-
-
Notifications
You must be signed in to change notification settings - Fork 115
add pluggable regex engine support #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
9979b2c
add pluggable regex engine support
anonrig e53335e
make progress
anonrig f0cc24c
minor fixes so that it will compile (but not link)
lemire 969d2ea
cleaner
lemire 42688f6
simplification
lemire 981993c
lint
lemire ca02e4b
more tweaking
lemire 64936f2
not sure
lemire afef3f1
finishing touch
af048e2
another fix
2dca388
small fix
7b2ffd5
missing typename
1b44d8f
lint
lemire a790af3
use std_regex_provider everywhere
anonrig 367b27b
increase fuzzer memory limit
anonrig 1c910f4
try to reuse vector values on regex_match
anonrig 7a8da2c
reduce url_pattern length
anonrig b0e4aaf
increase timeout duration
anonrig 6f14ce9
reduce the scope of the fuzzer (#846)
lemire File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
add pluggable regex engine support
- Loading branch information
commit 9979b2ce97b5080960d4181e05e4ec0ae509622d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| /** | ||
| * @file url_search_params.h | ||
| * @brief Declaration for the URL Search Params | ||
| */ | ||
| #ifndef ADA_URL_PATTERN_REGEX_H | ||
| #define ADA_URL_PATTERN_REGEX_H | ||
|
|
||
| #include <regex> | ||
|
|
||
| namespace ada::url_pattern_regex { | ||
|
|
||
| class provider { | ||
| struct type {}; | ||
|
|
||
| std::optional<type> create_regex_instance(std::string_view pattern, | ||
| bool ignore_case); | ||
|
|
||
| std::optional<std::vector<std::string>> regex_search(std::string_view input, std::string_view pattern); | ||
| }; | ||
|
|
||
| class std_regex_provider : public provider { | ||
|
|
||
| }; | ||
|
|
||
| } // namespace ada::url_pattern_regex | ||
|
|
||
| #endif // ADA_URL_PATTERN_REGEX_H | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.