UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

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