Skip to content

Conversation

@Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jan 9, 2025

Changed capture groups (...) to non-capture groups (?:...), as nothing is done with the captured text, so the regex engine is doing extra work capturing and storing text only to end up not using it.

Checklist

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@Fdawgs Fdawgs merged commit 7397616 into master Jan 9, 2025
13 checks passed
@Fdawgs Fdawgs deleted the Fdawgs-patch-1 branch January 9, 2025 21:11
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.

4 participants