Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 7 months ago3325 dependents licensed under $MIT
891,859,085

A regular expression to match all Emoji-only symbols as per the Unicode Standard.

published version 10.4.0, 7 months ago3175 dependents licensed under $MIT
671,779,163

Escape RegExp special characters

published version 5.0.0, 4 years ago5398 dependents licensed under $MIT
660,722,146

Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`

published version 7.1.1, 10 months ago2504 dependents licensed under $MIT
338,748,482

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 ago2455 dependents licensed under $MIT
304,780,943

Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.

published version 7.0.3, 2 months ago3232 dependents licensed under $MIT
322,266,433

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

published version 4.0.8, 7 months ago4969 dependents licensed under $MIT
334,590,551

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2258 dependents licensed under $MIT
329,981,319

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 ago2890 dependents licensed under $MIT
300,869,598

Tiny JavaScript tokenizer.

published version 9.0.1, 4 months ago5827 dependents licensed under $MIT
255,312,023

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

published version 3.1.3, 2 years ago2576 dependents licensed under $ISC
253,382,157

Returns true if a string has an extglob.

published version 2.1.1, 8 years ago2339 dependents licensed under $MIT
255,561,854

Returns true if a value is a plain object, array or function.

published version 1.0.1, 8 years ago889 dependents licensed under $MIT
206,068,711

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

published version 1.2.1, 4 months ago1546 dependents licensed under $MIT
193,778,542

ES6 spec-compliant RegExp.prototype.flags shim.

published version 1.5.4, 3 months ago1308 dependents licensed under $MIT
176,284,323

Give a regex, get a robust predicate function that tests it against a string.

published version 1.1.0, 4 months ago903 dependents licensed under $MIT
167,627,718

A regex to match any full character, considering weird character ranges.

published version 2.0.2, 4 months ago841 dependents licensed under $MIT
125,111,688

Compile regular expressions using the `s` (`dotAll`) flag to ES5.

published version 7.25.9, 5 months ago28 dependents licensed under $MIT
109,430,449

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

published version 6.2.0, 4 months ago1322 dependents licensed under $MIT
118,383,611

Compile regular expressions using named groups to ES5.

published version 7.25.9, 5 months ago26 dependents licensed under $MIT
108,554,334