linwenling
2023-09-05 28a4ffa818ba6ae807c83c882a91f7125a7f0f0e
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');