Repositorio del curso CCOM4030 el semestre B91 del proyecto kilometro0
luis d198970c71 added browser platform 5 anos atrás
..
index.js added browser platform 5 anos atrás
license added browser platform 5 anos atrás
package.json added browser platform 5 anos atrás
readme.md added browser platform 5 anos atrás

readme.md

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