asdf-games/node_modules/safe-regex/example/safe.js

4 lines
98 B
JavaScript

var safe = require('../');
var regex = process.argv.slice(2).join(' ');
console.log(safe(regex));