Search results

1000+ packages found

Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.

published version 1.4.2, 5 years ago1335 dependents licensed under $MIT
109,651,691

regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.

published version 6.2.0, 7 months ago1326 dependents licensed under $MIT
126,406,022

Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.

published version 4.0.1, 7 years ago1381 dependents licensed under $MIT
86,060,123

Compile Unicode property escapes in Unicode regular expressions to ES5.

published version 7.27.1, 2 months ago7 dependents licensed under $MIT
85,793,993

Convert globs to regular expressions

published version 0.4.1, 6 years ago1001 dependents licensed under $BSD-2-Clause
119,172,399

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 6 months ago1116 dependents licensed under $MIT
101,824,871

Regular expression parser for ECMAScript.

published version 3.2.0, 4 years ago750 dependents licensed under $MIT
78,382,726

Parse regular expressions' unicodeSets (v) flag.

published version 7.18.6, 3 years ago6 dependents licensed under $MIT
77,768,424

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

published version 7.27.1, 2 months ago1 dependents licensed under $MIT
59,830,482

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, 7 years ago911 dependents licensed under $MIT
53,366,928

Tokenizes a string that represents a regular expression.

published version 0.5.0, 2 years ago824 dependents licensed under $MIT
78,961,898

Check if a string has ANSI escape codes

published version 6.0.0, a year ago495 dependents licensed under $MIT
61,100,345

Compile inline regular expression modifiers

published version 7.27.1, 2 months ago1 dependents licensed under $MIT
50,238,802

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

published version 1.0.0, 8 years ago378 dependents licensed under $MIT
31,613,781

Regular expression for matching IP addresses (IPv4 & IPv6)

published version 5.0.0, 3 years ago500 dependents licensed under $MIT
41,020,561

Generate regular expressions from regjsparser’s AST.

published version 0.8.0, 2 years ago2 dependents licensed under $MIT
32,941,065

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 ago380 dependents licensed under $MIT
31,783,440

Regular Expressions parser in JavaScript

published version 0.1.27, 2 years ago76 dependents licensed under $MIT
27,584,314

Check if a value is a regular expression

published version 3.1.0, 4 years ago313 dependents licensed under $MIT
47,238,665

Regular expression for matching semver versions

published version 4.0.5, 3 years ago291 dependents licensed under $MIT
27,612,522