SungBeom's picture
Upload folder using huggingface_hub
4a51346
raw
history blame
160 Bytes
'use strict';
const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]';
module.exports = opts => opts && opts.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g');