Vulnerabilities | |||||
---|---|---|---|---|---|
Version | Suggest | Low | Medium | High | Critical |
3.4.11 | 0 | 0 | 0 | 0 | 0 |
3.4.10 | 0 | 0 | 0 | 0 | 0 |
3.4.9 | 0 | 0 | 0 | 0 | 0 |
3.4.8 | 0 | 0 | 0 | 0 | 0 |
3.4.7 | 0 | 0 | 0 | 0 | 0 |
3.4.6 | 0 | 0 | 0 | 0 | 0 |
3.4.5 | 0 | 0 | 0 | 0 | 0 |
3.4.4 | 0 | 0 | 0 | 0 | 0 |
3.4.3 | 0 | 0 | 0 | 0 | 0 |
3.4.2 | 0 | 0 | 0 | 0 | 0 |
3.4.1 | 0 | 0 | 0 | 0 | 0 |
3.4.0 | 0 | 0 | 0 | 0 | 0 |
3.3.0 | 0 | 0 | 0 | 0 | 0 |
3.2.0 | 0 | 0 | 0 | 0 | 0 |
3.1.0 | 0 | 0 | 0 | 0 | 0 |
3.0.0 | 0 | 0 | 0 | 0 | 0 |
2.0.0 | 0 | 0 | 0 | 0 | 0 |
1.0.0 | 0 | 0 | 0 | 0 | 0 |
3.4.11 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT LicenseEscapes input characters to be used in regular expressions.
# Using npm
npm install --save regex-escape
# Using yarn
yarn add regex-escape
// Dependencies
var RegexEscape = require("regex-escape");
console.log(RegexEscape("{#/}"));
// => \{#\/\}
There are few ways to get help:
Escapes a string for using it in a regular expression.
input
: The string that must be escaped.Adds the RegexEscape
function to RegExp
class.
RegexEscape
function.Have an idea? Found a bug? See how to contribute.
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
Starring and sharing the projects you like π
βI love books! I will remember you after years if you buy me one. π π
βYou can make one-time donations via PayPal. I'll probably buy a
coffee tea. π΅
βSet up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).
BitcoinβYou can send me bitcoins at this address (or scanning the code below): 1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6
Thanks! β€οΈ
Big thanks to CoolAj86 for posting this answer. This library uses the black magic regex from that answer. β¨