refactor(ivy): remove unnecessary escaping in RegExp (#28963)
PR Close #28963
This commit is contained in:
parent
4742385e95
commit
4525619a73
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue