Search results

1000+ packages found

detect possibly catastrophic, exponential-time regular expressions

published version 2.1.1, 5 years ago892 dependents licensed under $MIT
53,318,298

Compile regular expressions' unicodeSets (v) flag.

published version 7.25.9, 2 months ago5 dependents licensed under $MIT
70,267,570

Tokenizes a string that represents a regular expression.

published version 0.5.0, 2 years ago825 dependents licensed under $MIT
63,592,113

Generate regular expressions from regjsparser’s AST.

published version 0.8.0, 2 years ago704 dependents licensed under $MIT
61,173,582

Create a javascript regular expression for matching everything except for the given string.

published version 1.0.2, 7 years ago806 dependents licensed under $MIT
43,961,605

Generate regular expressions from regjsparser’s AST.

published version 0.8.0, 2 years ago2 dependents licensed under $MIT
40,544,311

Validation RegEx for Javascript and Node JS

published version 1.6.0, 4 years ago0 dependents licensed under $MIT
25

Generate a regex from a string or array of strings.

published version 3.0.2, 7 years ago818 dependents licensed under $MIT
43,918,499

Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)

published version 1.2.13, 6 years ago912 dependents licensed under $MIT
43,850,343

Regular expression for matching IP addresses (IPv4 & IPv6)

published version 5.0.0, 3 years ago495 dependents licensed under $MIT
31,954,646

Compile regular expressions using duplicate named groups to index-based groups.

published version 7.25.9, 2 months ago1 dependents licensed under $MIT
37,915,083

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
35,148,495

Compile inline regular expression modifiers

published version 7.26.0, 2 months ago1 dependents licensed under $MIT
23,472,428

A library for teleporting rich data to another place.

published version 7.2.0, a year ago87 dependents licensed under $MIT
25,125,780

Regular expression for getting the root of a posix or windows filepath.

published version 0.1.2, 9 years ago54 dependents licensed under $MIT
22,181,512

Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.

published version 0.1.2, 9 years ago364 dependents licensed under $MIT
25,208,531

Returns true if a filepath is a windows UNC file path.

published version 1.0.0, 7 years ago361 dependents licensed under $MIT
25,004,860

Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.

published version 4.0.0, a year ago5 dependents licensed under $MIT
11,997

Regular expression for matching semver versions

published version 4.0.5, 3 years ago281 dependents licensed under $MIT
19,269,320

Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`

published version 6.0.0, 9 months ago247 dependents licensed under $MIT
18,973,746