-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Clean up RegexCode opcodes and debug-only tracing #64346
Conversation
Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions Issue DetailsNo functional changes (other than deleting some useless debug-only tracing). Cleans up RegexCode's const int opcodes by moving them into a dedicated enum, and cleans up some unused debugging-related code. We may want to remove even more, but I at least wanted to get rid of RegexOptions.Debug so that we didn't have the extra option littered throughout the code.
|
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexCode.cs
Show resolved
Hide resolved
...libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexNodeKind.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the cleanup!
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexOpcode.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexOpcode.cs
Show resolved
Hide resolved
src/libraries/System.Text.RegularExpressions/src/System/Text/RegularExpressions/RegexOpcode.cs
Show resolved
Hide resolved
No functional changes (other than deleting some useless debug-only tracing). Cleans up RegexCode's const int opcodes by moving them into a dedicated enum, and cleans up some unused debugging-related code. We may want to remove even more, but I at least wanted to get rid of RegexOptions.Debug so that we didn't have the extra option littered throughout the code.
04a3012
to
57d6baa
Compare
No functional changes (other than deleting some useless debug-only tracing). Cleans up RegexCode's const int opcodes by moving them into a dedicated enum, and cleans up some unused debugging-related code. We may want to remove even more, but I at least wanted to get rid of RegexOptions.Debug so that we didn't have the extra option littered throughout the code.