Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (11 sloc) 0.338 kb

parse-regexp

parse a regexp string. parse(reg_exp.toString()) == reg_exp

Put RegExps in your config files or, or use them as object keys!

  var rxparse = require('regexp-parse')
  rxparse('/whatever/m')

  => /whatever/m

License

MIT

Jump to Line
Something went wrong with that request. Please try again.