UNPKG
@lifaon/path
Version:
latest (3.0.0)
3.0.0
2.1.0
2.0.0
1.1.2
1.1.1
1.1.0
1.0.0
Useful tool to manage paths like the URL object
github.com/lifaon74/path
lifaon74/path
@lifaon/path
/
.private
/
platform-config
/
constants
/
slash-regexp.constant.js
4 lines
•
225 B
JavaScript
View Raw
1
2
3
4
export
const
SLASH_UNWRAPPED_PATTERN
=
'\\\\\\/'
;
// \ or /
export
const
SLASH_PATTERN
=
`[
${SLASH_UNWRAPPED_PATTERN}
]`
;
export
const
SLASH_REGEXP
=
new
RegExp
(
SLASH_PATTERN
);
//# sourceMappingURL=slash-regexp.constant.js.map