bc09a16d2c7535959da6cf418dc52180e56ea90ddee8d88a9dfc2e0844c90bc1391df7c372d224f5b664509065f062ce73f7147b88589c8776a33c602034cf 203 B

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