Skip to content

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 me@silverwind.io
Reviewed-By: Colin Ihrig cjihrig@gmail.com
Reviewed-By: Minwoo Jung jmwsoft@gmail.com
Reviewed-By: James Snell jasnell@gmail.com

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 <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: James Snell <jasnell@gmail.com>
@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 <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: James Snell <jasnell@gmail.com>
@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 <me@silverwind.io>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
Reviewed-By: James Snell <jasnell@gmail.com>
@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