JSPM

regexp-escape

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2723
  • Score
    100M100P100Q116207F
  • License MIT

Provides RegExp.escape function for quoting text for a regular expression.

Package Exports

  • regexp-escape

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regexp-escape) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

regexp-escape

This simple module adds a RegExp.escape function that quotes a string so that it can be included in a regular expression as a literal match.