Files
upload-google-play/node_modules/escape-string-regexp
Drew Heavner a29f8cd536 Finished action
Adding the monolith node_modules dir for deployment
2019-12-04 09:58:34 -05:00
..
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00
2019-12-04 09:58:34 -05:00

escape-string-regexp Build Status

Escape RegExp special characters

Install

$ npm install --save escape-string-regexp

Usage

const escapeStringRegexp = require('escape-string-regexp');

const escapedString = escapeStringRegexp('how much $ for a unicorn?');
//=> 'how much \$ for a unicorn\?'

new RegExp(escapedString);

License

MIT © Sindre Sorhus