Sha256: 805b646a1242d3b5f1ef1cc89d7117439e257cfc8569f6484b0dd32c42fe5e3f

Contents?: true

Size: 160 Bytes

Versions: 25

Compression:

Stored size: 160 Bytes

Contents

'use strict';
const regex = '[\uD800-\uDBFF][\uDC00-\uDFFF]';

module.exports = opts => opts && opts.exact ? new RegExp(`^${regex}$`) : new RegExp(regex, 'g');

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
trusty-cms-5.0.7 node_modules/astral-regex/index.js
trusty-cms-5.0.6 node_modules/astral-regex/index.js
trusty-cms-5.0.5 node_modules/astral-regex/index.js
trusty-cms-5.0.4 node_modules/astral-regex/index.js
trusty-cms-5.0.3 node_modules/astral-regex/index.js
trusty-cms-5.0.2 node_modules/astral-regex/index.js
trusty-cms-5.0.1 node_modules/astral-regex/index.js
trusty-cms-4.3.5 node_modules/astral-regex/index.js
trusty-cms-5.0.0 node_modules/astral-regex/index.js
trusty-cms-4.3.4 node_modules/astral-regex/index.js
trusty-cms-4.3.3 node_modules/astral-regex/index.js
trusty-cms-4.3.2 node_modules/astral-regex/index.js
trusty-cms-4.3.1 node_modules/astral-regex/index.js
trusty-cms-4.3 node_modules/astral-regex/index.js
trusty-cms-4.2.3 node_modules/astral-regex/index.js
trusty-cms-4.2.2 node_modules/astral-regex/index.js
trusty-cms-4.2.1 node_modules/astral-regex/index.js
trusty-cms-4.2 node_modules/astral-regex/index.js
trusty-cms-4.1.9 node_modules/astral-regex/index.js
trusty-cms-4.1.8 node_modules/astral-regex/index.js