odin-javascript-exercises/node_modules/ansi-regex/index.js

5 lines
135 B
JavaScript
Raw Normal View History

2017-12-15 10:56:14 -08:00
'use strict';
module.exports = function () {
return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;
};