to-regexp
Turns wild card-style glob ('foo*'
) and stringified regular expressions ('/foo.*/'
) into RegExp objects.
Install
npm install to-regexp
Usage
var toRegExp = ; var re = ;re; // truere; // true var re = ;re; // truere; // true
Turns wild card-style glob ('foo*'
) and stringified regular expressions ('/foo.*/'
) into RegExp objects.
npm install to-regexp
var toRegExp = ; var re = ;re; // truere; // true var re = ;re; // truere; // true
npm i to-regexp
5
0.1.7
MIT