Skip to content

perf(lib/pluginUtils): convert unused capture group to non-capture group#5749

Merged
Fdawgs merged 1 commit into
mainfrom
Fdawgs-patch-1
Oct 19, 2024
Merged

perf(lib/pluginUtils): convert unused capture group to non-capture group#5749
Fdawgs merged 1 commit into
mainfrom
Fdawgs-patch-1

Conversation

@Fdawgs

@Fdawgs Fdawgs commented Oct 19, 2024

Copy link
Copy Markdown
Member

Changed capture group (...) to non-capture group (?:...), 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

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
@Fdawgs Fdawgs merged commit 3ca6493 into main Oct 19, 2024
@Fdawgs Fdawgs deleted the Fdawgs-patch-1 branch October 19, 2024 13:29
@github-actions

Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants