mirror of https://github.com/lukechilds/node.git
Browse Source
reduce using RegExp for string test. This pull reuqest replaces various usages of regular expressions in favor of the ES2015 startsWith and endsWith methods. PR-URL: https://github.com/nodejs/node/pull/5753 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>v4.x
committed by
Myles Borins
7 changed files with 14 additions and 15 deletions
Loading…
Reference in new issue