work.suroh.tk/node_modules/safe-regex/example/safe.js

4 lines
98 B
JavaScript
Raw Normal View History

2019-12-02 12:22:45 +00:00
var safe = require('../');
var regex = process.argv.slice(2).join(' ');
console.log(safe(regex));