v6 backport: benchmark,lib,test,tools: remove unneeded . escape
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: https://github.com/nodejs/node/pull/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