Sign in
cobalt
/
cobalt
/
0e7d696c3ce6a2ef566d0fabc20213b6a651f942
/
.
/
src
/
third_party
/
devtools
/
node_modules
/
astral-regex
/
index.js
blob: f90e6a225c40ca4d50a83f5f8e90d618e2eb8094 [
file
] [
log
] [
blame
]
'use strict'
;
const
regex
=
'[\uD800-\uDBFF][\uDC00-\uDFFF]'
;
module
.
exports
=
opts
=>
opts
&&
opts
.
exact
?
new
RegExp
(`^
$
{
regex
}
$
`)
:
new
RegExp
(
regex
,
'g'
);