Skip to content

Conversation

@riannucci
Copy link

No description provided.

@riannucci
Copy link
Author

(This should probably get a unit test as well, but the github 'IDE' is not really conducive to that.)

Another possible implementation would be to use matchedText if len(matches) == 1 . This would mean that regexes without groups would automatically be assumed to want the entire regex.

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.

1 participant