0.0.0 • Published 9 years ago
regexpify v0.0.0
Turn a string to a regexp
Install
$ npm install --save regexpify
Usage
var regexpify = require('regexpify');
regexpify('');
//=> /.^/
regexpify('Rainbow');
//=> /Rainbow/
regexpify('how much $ for a unicorn?', true);
//=> /how much \$ for a unicorn\?/
License
MIT © Steve Mao
0.0.0
9 years ago