Skip to content
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

Merged
merged 2 commits into from
Jan 27, 2022

Conversation

stephentoub
Copy link
Member

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.

@ghost
Copy link

ghost commented Jan 26, 2022

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

Issue Details

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.

Author: stephentoub
Assignees: -
Labels:

area-System.Text.RegularExpressions

Milestone: 7.0.0

Copy link
Member

@joperezr joperezr left a 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!

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.
@stephentoub stephentoub merged commit 3e4c4a4 into dotnet:main Jan 27, 2022
@stephentoub stephentoub deleted the cleanupregexcode branch January 27, 2022 13:44
@ghost ghost locked as resolved and limited conversation to collaborators Feb 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants