Files
railwaysystem/RuoYi-Vue/ruoyi-ui/node_modules2/astral-regex/index.js
T
2026-09-10 15:40:10 +08:00

7 lines
203 B
JavaScript

'use strict';
const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]';
const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g');
module.exports = astralRegex;