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

refactor(lib/getPluginName): remove redundant regex quantifiers #250

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Oct 19, 2024

Not having a quantifier is the same as {1}. This is just giving the regex engine extra work.

Checklist

`{1}` is the same as not having it

Signed-off-by: Frazer Smith <[email protected]>
Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@Uzlopak Uzlopak changed the title refactor(lib/getPluginName): remove useless regex quantifiers refactor(lib/getPluginName): remove redundant regex quantifiers Oct 19, 2024
@Uzlopak Uzlopak merged commit 6b73d38 into master Oct 19, 2024
13 checks passed
@Uzlopak Uzlopak deleted the Fdawgs-patch-1 branch October 19, 2024 12:08
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