escape-regexp-component
Escape regular expression special characters
Last updated 7 years ago by tjholowaychuk .
Original npm · Tarball · package.json
$ cnpm install escape-regexp-component 
SYNC missed versions from official npm registry.

escape-regexp

Escape regular expression special characters.

Example

var escape = require('escape-regexp');
escape(str);

License

MIT

Current Tags

  • 1.0.2                                ...           latest (7 years ago)

1 Versions

  • 1.0.2                                ...           7 years ago

Copyright 2014 - 2016 © taobao.org |