Search results

1000+ packages found

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 ago1327 dependents licensed under $MIT
125,453,893

Compile Unicode property escapes in Unicode regular expressions to ES5.

published version 7.27.1, a month ago7 dependents licensed under $MIT
86,241,919

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

published version 4.0.1, 7 years ago1382 dependents licensed under $MIT
85,731,700

Convert globs to regular expressions

published version 0.4.1, 6 years ago1001 dependents licensed under $BSD-2-Clause
118,611,771

Parse regular expressions' unicodeSets (v) flag.

published version 7.18.6, 3 years ago6 dependents licensed under $MIT
77,979,000

Regular expression parser for ECMAScript.

published version 3.2.0, 4 years ago750 dependents licensed under $MIT
75,883,747

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

published version 7.27.1, a month ago1 dependents licensed under $MIT
60,081,528

Compile regular expressions using named groups to ES5.

published version 7.27.1, a month ago25 dependents licensed under $MIT
117,297,764

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
52,356,254

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, 6 months ago1116 dependents licensed under $MIT
101,217,925

Tokenizes a string that represents a regular expression.

published version 0.5.0, 2 years ago824 dependents licensed under $MIT
77,981,612

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

published version 1.0.0, 8 years ago378 dependents licensed under $MIT
31,592,416

Check if a string has ANSI escape codes

published version 6.0.0, a year ago495 dependents licensed under $MIT
60,649,423

Generate regular expressions from regjsparser’s AST.

published version 0.8.0, 2 years ago2 dependents licensed under $MIT
33,074,886

Compile inline regular expression modifiers

published version 7.27.1, a month ago1 dependents licensed under $MIT
50,384,160

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 ago381 dependents licensed under $MIT
31,762,921

Check if a value is a regular expression

published version 3.1.0, 4 years ago313 dependents licensed under $MIT
46,660,652

Regular Expressions parser in JavaScript

published version 0.1.27, 2 years ago76 dependents licensed under $MIT
26,662,982

Regular expression for matching IP addresses (IPv4 & IPv6)

published version 5.0.0, 3 years ago500 dependents licensed under $MIT
40,559,138

Regular expression for matching semver versions

published version 4.0.5, 3 years ago291 dependents licensed under $MIT
27,191,150