Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/component/escape-regexp
USE https://github.com/sindresorhus/escape-string-regexp
https://github.com/component/escape-regexp
Last synced: 13 days ago
JSON representation
USE https://github.com/sindresorhus/escape-string-regexp
- Host: GitHub
- URL: https://github.com/component/escape-regexp
- Owner: component
- Created: 2012-08-16T21:42:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-09T22:24:57.000Z (about 11 years ago)
- Last Synced: 2024-05-08T17:16:29.541Z (8 months ago)
- Language: JavaScript
- Homepage: https://github.com/sindresorhus/escape-string-regexp
- Size: 109 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# escape-regexp
Escape regular expression special characters.
## Example
```js
var escape = require('escape-regexp');
escape(str);
```## License
MIT