Skip to content

Rename RegexMatch to MatchResult. #205

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 1 commit into from
Mar 14, 2022
Merged

Rename RegexMatch to MatchResult. #205

merged 1 commit into from
Mar 14, 2022

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented Mar 11, 2022

This is something we should've done earlier, as we've been referring to this type as MatchResult the whole time. The only reason I named it RegexMatch was because the (now deleted) VM had a lower-level type named MatchResult.

This is something we should've done earlier, as we've been referring to this type as `MatchResult` the whole time.  The only reason I named it `RegexMatch` was because the (now deleted) VM had a lower-level type named `MatchResult`.
@rxwei rxwei requested review from milseman and natecook1000 March 11, 2022 09:01
@rxwei
Copy link
Contributor Author

rxwei commented Mar 11, 2022

@swift-ci please test

Copy link
Member

@milseman milseman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, also, what about renaming Match to Captures?

@rxwei rxwei merged commit 74ea98d into swiftlang:main Mar 14, 2022
@rxwei rxwei deleted the regexmatch branch March 14, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants