Skip to content

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

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

refactor(lib/getPluginName): remove redundant regex quantifiers#250
Uzlopak merged 1 commit into
masterfrom
Fdawgs-patch-1

Conversation

@Fdawgs

@Fdawgs Fdawgs commented Oct 19, 2024

Copy link
Copy Markdown
Member

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>

@Uzlopak Uzlopak left a comment

Copy link
Copy Markdown
Contributor

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
@github-actions

github-actions Bot commented May 1, 2026

Copy link
Copy Markdown
Contributor

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 May 1, 2026
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