hexo/node_modules/safe-regex/example/safe.js

4 lines
101 B
JavaScript

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