index.js 152 B

12345
  1. 'use strict';
  2. var ansiRegex = require('ansi-regex');
  3. var re = new RegExp(ansiRegex().source); // remove the `g` flag
  4. module.exports = re.test.bind(re);