Search results

1000+ packages found

Escape RegExp special characters

published version 5.0.0, 4 years ago5346 dependents licensed under $MIT
456,792,858

Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.

published version 4.0.8, 5 months ago4845 dependents licensed under $MIT
234,093,260

Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.

published version 5.0.1, 6 years ago2409 dependents licensed under $MIT
211,760,758

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2296 dependents licensed under $MIT
174,790,031

Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet

published version 4.0.3, 3 years ago2851 dependents licensed under $MIT
209,152,465

Matches strings against configurable strings, globs, regular expressions, and/or functions

published version 3.1.3, 2 years ago2546 dependents licensed under $ISC
177,388,518

Regular expression parser for ECMAScript.

published version 4.12.1, 3 months ago19 dependents licensed under $MIT
104,858,962

Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag

published version 1.2.1, a month ago1521 dependents licensed under $MIT
129,456,378

Spec-compliant polyfill for String.prototype.matchAll

published version 4.0.12, a month ago1105 dependents licensed under $MIT
63,434,810

Expand POSIX bracket expressions (character classes) in glob patterns.

published version 4.0.0, 7 years ago836 dependents licensed under $MIT
43,328,417

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
33,777,425

Regular expression parser for ECMAScript.

published version 3.2.0, 4 years ago747 dependents licensed under $MIT
45,056,418

Check if a value is a regular expression

published version 3.1.0, 3 years ago312 dependents licensed under $MIT
29,057,640

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

published version 1.0.0, 8 years ago365 dependents licensed under $MIT
19,671,989

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

published version 0.1.2, 9 years ago53 dependents licensed under $MIT
17,705,458

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 ago368 dependents licensed under $MIT
19,851,601

tiny util for getting and setting deep object props safely

published version 2.0.6, a year ago63 dependents licensed under $MIT
20,271,132

evaluate statically-analyzable expressions

published version 2.1.1, a year ago263 dependents licensed under $MIT
12,602,110

The best regular expression (regex) for matching hex color values from string.

published version 1.1.0, 8 years ago116 dependents licensed under $MIT
7,560,182

Clean up regular expressions

published version 1.0.0, 7 years ago16 dependents licensed under $MIT
9,238,754