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

v6 backport: benchmark,lib,test,tools: remove unneeded . escape #9749

Closed
wants to merge 1 commit into from

Conversation

Trott
Copy link
Member

@Trott Trott commented Nov 22, 2016

Backport of #9449 for v6.x-staging. @thealphanerd

The . character does not need to be escaped when it appears inside a
regular expression character class. This removes instances of
unnecessary escapes of the . character.

This also removes a few unnecessary escapes of the ( and )
characters within character classes too.

PR-URL: #9449
Reviewed-By: Roman Reiss [email protected]
Reviewed-By: Colin Ihrig [email protected]
Reviewed-By: Minwoo Jung [email protected]
Reviewed-By: James Snell [email protected]

The `.` character does not need to be escaped when it appears inside a
regular expression character class. This removes instances of
unnecessary escapes of the `.` character.

This also removes a few unnecessary escapes of the `(` and `)`
characters within character classes too.

PR-URL: nodejs#9449
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: James Snell <[email protected]>
@nodejs-github-bot nodejs-github-bot added tls Issues and PRs related to the tls subsystem. tools Issues and PRs related to the tools directory. v6.x labels Nov 22, 2016
@mscdex mscdex changed the title v6 bacport: benchmark,lib,test,tools: remove unneeded . escape v6 backport: benchmark,lib,test,tools: remove unneeded . escape Nov 22, 2016
Copy link
Contributor

@not-an-aardvark not-an-aardvark left a comment

Choose a reason for hiding this comment

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

LGTM

MylesBorins pushed a commit that referenced this pull request Dec 8, 2016
The `.` character does not need to be escaped when it appears inside a
regular expression character class. This removes instances of
unnecessary escapes of the `.` character.

This also removes a few unnecessary escapes of the `(` and `)`
characters within character classes too.

PR-URL: #9449
Ref: #9749
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: James Snell <[email protected]>
@MylesBorins
Copy link
Contributor

landed in a8909b8

@MylesBorins MylesBorins closed this Dec 8, 2016
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
The `.` character does not need to be escaped when it appears inside a
regular expression character class. This removes instances of
unnecessary escapes of the `.` character.

This also removes a few unnecessary escapes of the `(` and `)`
characters within character classes too.

PR-URL: #9449
Ref: #9749
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
Reviewed-By: James Snell <[email protected]>
@Trott Trott deleted the backport-v6-9449 branch January 13, 2022 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tls Issues and PRs related to the tls subsystem. tools Issues and PRs related to the tools directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants