-
Notifications
You must be signed in to change notification settings - Fork 1.6k
<regex>: Revise parsing of escape sequences
#5380
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
StephanTLavavej
merged 15 commits into
microsoft:main
from
muellerj2:regex-revise-escape-sequences
Apr 10, 2025
Merged
Changes from 3 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a192d76
`<regex>`: Revise parsing of escape sequences
muellerj2 a49844c
add two missing member functions to custom regex traits in test
muellerj2 e51ea02
Avoid parsing first decimal digit twice in _Parser::_AtomEscape()
muellerj2 c6508bb
Style nitpicks.
StephanTLavavej bd8c667
Introduce `_L_brk_bal` for clarity.
StephanTLavavej d14c10a
Expand test coverage for `"[\\]]"` to all grammars.
StephanTLavavej 7fb589b
Use std::string UDL concatenation to avoid suppressing clang-format.
StephanTLavavej ee7e9ae
Include more headers.
StephanTLavavej c2b5659
Capture the bug title in a comment.
StephanTLavavej 0227314
Take `const string&`.
StephanTLavavej ba2b655
Test spaces matched against `\d` and `\D`.
StephanTLavavej e57c401
Sort awk-only escapes.
StephanTLavavej ad6f36f
Fix: `"\0"` => `"\0"s`
StephanTLavavej fe21384
Don't check for awk in test_gh_5244_classescape_posix_not_awk.
StephanTLavavej 0cdf367
Merge branch 'main' into regex-revise-escape-sequences
StephanTLavavej 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
|
||
| RUNALL_INCLUDE ..\usual_matrix.lst |
Oops, something went wrong.
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.