Opal-Estate-Pro/node_modules/has-ansi/index.js
2019-09-13 11:27:52 +07:00

5 lines
152 B
JavaScript
Executable File

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