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

Add unused group name mutation #1200

Merged
merged 1 commit into from Jan 5, 2021
Merged

Commits on Jan 5, 2021

  1. Add unused group name mutation

    - Mutates capture group names: `/(?<foo>bar)/` -> `/(?<_foo>bar)/`.
    - Closes #573. NOTE: I have deviated from the issue slightly and chosen a `_` prefix so that, like with local variables, names can be left in unused if they are explicitly marked as such. I have decided to extend the behavior to not mutating to a non-capture group as well in this case because the `_` prefix seems like a clear choice that the user would rather keep the label even if the capturing functionality is unused.
    dgollahon committed Jan 5, 2021
    Configuration menu
    Copy the full SHA
    1c4f875 View commit details
    Browse the repository at this point in the history