Repository navigation
Add RegexOptions.AnyNewLine via parser lowering #124701
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 all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
1a8adf7
Add RegexOptions.AnyNewLine enum value and validation
b3c40f4
Lower $ with AnyNewLine (no Multiline)
37317bb
Lower \Z with AnyNewLine
789ab13
Lower $ with Multiline|AnyNewLine
cc5269a
Lower ^ with Multiline|AnyNewLine
1141050
Lower . with AnyNewLine
283d49d
Add AnyNewLine integration tests
7ebed69
Add AnyNewLine integration tests
d3b20ba
Add exhaustive AnyNewLine edge case tests
a959964
Add AnyNewLine test for UpgradeToGeneratedRegex analyzer
6d58823
Add PCRE2-inspired and real-world pattern tests
681a3ba
Test NonBacktracking|AnyNewLine is rejected
c96689e
Style: single-line ternaries for $ and \Z lowering
2349ce3
Address PR feedback: more RTL/Singleline tests, net481 compat
e8c8fcb
Add ECMAScript+AnyNewLine rejection test
4a94fc3
Optimize AnyNewLine anchor lowering by merging alternation branches
c4bb5b9
Skip AnyNewLine tests on .NET Framework
32b183c
Add VT/FF newline tests (expected to fail)
4731bfb
Add VT (U+000B) and FF (U+000C) to AnyNewLine newline set
c42d8ff
Add missing test cases for AnyNewLine edge cases
4f5b056
Rename la/lb to lookahead/lookbehind for clarity
763d334
Rename NotNewLineOrCarriageReturnClass and fix variable naming
632f402
Move newline character class constants to RegexCharClass.cs
f08383a
Add .*$ and .+$ baseline/AnyNewLine contrast tests
4035161
Optimize AnyNewLine anchor lowering: eliminate outer alternation
b750415
Fix review feedback: remove BOMs, fix formatting, add missing test
4de13b6
Merge branch 'main' into anynewline-lower-v2
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
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
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.