Skip to content

refactor(index): consolidate controlre variables#142

Merged
Fdawgs merged 2 commits intomasterfrom
Fdawgs-patch-1
Oct 19, 2024
Merged

refactor(index): consolidate controlre variables#142
Fdawgs merged 2 commits intomasterfrom
Fdawgs-patch-1

Conversation

@Fdawgs
Copy link
Copy Markdown
Member

@Fdawgs Fdawgs commented Oct 19, 2024

new RegExp('[\x00-\x1F\x7F]') is the same as /[\x00-\x1F\x7F]/.
This way we're instantiating one less variable.

Checklist

Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
Signed-off-by: Frazer Smith <frazer.dev@icloud.com>
@Fdawgs Fdawgs merged commit 0258abe into master Oct 19, 2024
@Fdawgs Fdawgs deleted the Fdawgs-patch-1 branch October 19, 2024 12:24
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