7ba290719f22905da56f50f211aecd6b4ed009b1.svn-base 203 Bytes Raw Blame History Permalink 1 2 3 4 5 6 'use strict'; const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]'; const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g'); module.exports = astralRegex;