Added note explaining why the top part of this answer disagrees with the rest of it.
Darren Cook
- 29.2k
- 13
- 127
- 239
match MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions
Timo Huovinen
- 56k
- 34
- 163
- 150
Updated to 1.0.5 https://github.com/sindresorhus/escape-string-regexp/blob/master/index.js https://www.npmjs.com/package/escape-string-regexp
Timo Huovinen
- 56k
- 34
- 163
- 150
Aristotle Pagaltzis
- 119.4k
- 24
- 102
- 101