Tcsm
2023-05-29 ebe31a83ee1c76bfc6546e8b60ae5cf90c554346
1
2
3
4
'use strict';
const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]';
 
module.exports = opts => opts && opts.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g');