refactor(ivy): remove unnecessary escaping in RegExp (#28963)

PR Close #28963
This commit is contained in:
George Kalpakas 2019-03-18 16:24:54 +02:00 committed by Matias Niemelä
parent 4742385e95
commit 4525619a73
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
// TODO(alxhub): Unify this file with `util/src/path`. // TODO(alxhub): Unify this file with `util/src/path`.
const TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/; const TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
const ABSOLUTE_PATH = /^([a-zA-Z]\:\/|\/)/; const ABSOLUTE_PATH = /^([a-zA-Z]:\/|\/)/;
/** /**
* Convert Windows-style separators to POSIX separators. * Convert Windows-style separators to POSIX separators.