Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/escape-string-regexp/readme.md

    rd565449 r0c6b92a  
    33> Escape RegExp special characters
    44
    5 
    65## Install
    76
    87```
    9 $ npm install --save escape-string-regexp
     8$ npm install escape-string-regexp
    109```
    11 
    1210
    1311## Usage
     
    1614const escapeStringRegexp = require('escape-string-regexp');
    1715
    18 const escapedString = escapeStringRegexp('how much $ for a unicorn?');
    19 //=> 'how much \$ for a unicorn\?'
     16const escapedString = escapeStringRegexp('How much $ for a 🦄?');
     17//=> 'How much \\$ for a 🦄\\?'
    2018
    2119new RegExp(escapedString);
    2220```
    2321
     22You can also use this to escape a string that is inserted into the middle of a regex, for example, into a character class.
    2423
    25 ## License
     24---
    2625
    27 MIT © [Sindre Sorhus](http://sindresorhus.com)
     26<div align="center">
     27        <b>
     28                <a href="https://tidelift.com/subscription/pkg/npm-escape-string-regexp?utm_source=npm-escape-string-regexp&utm_medium=referral&utm_campaign=readme">Get professional support for this package with a Tidelift subscription</a>
     29        </b>
     30        <br>
     31        <sub>
     32                Tidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.
     33        </sub>
     34</div>
Note: See TracChangeset for help on using the changeset viewer.