RegExp.quote = require("regexp-quote")
JavaScript
Latest commit bb3090a Jun 17, 2015 @dbrock Convert to string automatically
Fixes #3
Permalink
Failed to load latest commit information.
MIT-LICENSE
README
package.json
regexp-quote.js Convert to string automatically Jun 17, 2015
test.js

README

RegExp.quote = require("regexp-quote")
new RegExp(format("(%s)+", RegExp.quote(foo)))