dbrock

dbrock/node-regexp-quote

RegExp.quote = require("regexp-quote")

JavaScript
7
3
MIT License

This is a Node.js package that provides a `RegExp.quote` function for escaping special characters in strings to be used in regular expressions. It's designed for JavaScript developers who need to dynamically create regular expressions from user input or variable strings without worrying about special regex characters breaking the pattern.

Total donated
Undistributed
Share with your subscribers: