install-nix-action/node_modules/astral-regex/index.js
Domen Kožar 70742d22d9
v6
2019-11-19 17:50:30 +01:00

4 lines
160 B
JavaScript

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