Sha256: c92312790eb1f246b7c4c1fe9c1247b15441bbca3c6cb64d167beefc45302753
Contents?: true
Size: 350 Bytes
Versions: 319
Compression:
Stored size: 350 Bytes
Contents
'use strict'; module.exports = ({onlyFirst = false} = {}) => { const pattern = [ '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))' ].join('|'); return new RegExp(pattern, onlyFirst ? undefined : 'g'); };
Version data entries
319 entries across 82 versions & 7 rubygems