Skip to content

Conversation

@Fdawgs
Copy link
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.

3 participants