Sign in
chromium
/
devtools
/
devtools-frontend
/
ad3042b50b8bdccc68cfd51b318b9801220982b1
/
.
/
node_modules
/
astral-regex
/
index.js
blob: 651177d40f1de3bb6b02e34ec4df14931eb2bc9f [
file
] [
log
] [
blame
]
'use strict'
;
const
regex
=
'[\uD800-\uDBFF][\uDC00-\uDFFF]'
;
const
astralRegex
=
options
=>
options
&&
options
.
exact
?
new
RegExp
(`^
$
{
regex
}
$
`)
:
new
RegExp
(
regex
,
'g'
);
module
.
exports
=
astralRegex
;