1.0.5 • Published 2 years ago

@os-team/escape-string-regexp v1.0.5

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

@os-team/escape-string-regexp NPM version BundlePhobia

Escapes special characters in a string for regular expressions.

Usage

Install the package

Install the package using the following command:

yarn add @os-team/escape-string-regexp

Simple usage

import escapeStringRegexp from 'escape-string-regexp';

const escapedString = escapeStringRegexp('a\\b'); // a\\b

Based on escape-string-regexp.

1.0.5

2 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago