node-to-regex

regex generator from string or array of strings
  https://github.com/jonschlinkert/to-regex
  0
  no reviews



To-regex can be used to generate a regex from a string or array of strings.

This package installs also regexptree, a regular expressions processor, and safe-regex, which detects potentially catastrophic exponential-time regular expressions by limiting the star height to 1.