Skip to content

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 <frazer.dev@icloud.com>
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
@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.

3 participants