Sign in
chromium
/
devtools
/
devtools-frontend
/
2ec237cea2f63f07659729f2c84a004900b87fb6
/
.
/
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
;