'use strict'; const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]'; const astralRegex = options => options && options.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g'); module.exports = astralRegex;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.d.ts | File | 681 B | 0644 |
|
index.js | File | 203 B | 0644 |
|
license | File | 1.09 KB | 0644 |
|
package.json | File | 3.33 KB | 0644 |
|
readme.md | File | 839 B | 0644 |
|