Search results

1000+ packages found

Regular expression for matching ANSI escape codes

published version 6.1.0, 9 months ago3374 dependents licensed under $MIT
1,027,824,242

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

published version 10.4.0, 10 months ago3228 dependents licensed under $MIT
773,958,886

Escape RegExp special characters

published version 5.0.0, 4 years ago5446 dependents licensed under $MIT
740,937,395

Get the native type of a value.

published version 6.0.3, 5 years ago2149 dependents licensed under $MIT
508,854,636

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 ago2488 dependents licensed under $MIT
356,215,774

Express style path to RegExp utility

published version 8.2.0, 9 months ago6949 dependents licensed under $MIT
323,634,973

Regular expression for matching a shebang line

published version 4.0.0, 4 years ago2295 dependents licensed under $MIT
381,942,377

Match balanced character pairs, like "{" and "}"

published version 3.0.1, 2 years ago2887 dependents licensed under $MIT
332,455,537

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

published version 4.0.8, 10 months ago5121 dependents licensed under $MIT
382,258,142

Tiny JavaScript tokenizer.

published version 9.0.1, 7 months ago5903 dependents licensed under $MIT
300,656,262

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

published version 3.1.3, 3 years ago2600 dependents licensed under $ISC
296,643,832

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

published version 7.0.5, 13 days ago3360 dependents licensed under $MIT
406,478,214

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

published version 1.1.0, 6 months ago917 dependents licensed under $MIT
178,153,486

ES6 spec-compliant RegExp.prototype.flags shim.

published version 1.5.4, 5 months ago1317 dependents licensed under $MIT
187,109,455

Regular expression parser for ECMAScript.

published version 4.12.1, 8 months ago20 dependents licensed under $MIT
177,144,856

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

published version 1.2.1, 6 months ago1559 dependents licensed under $MIT
217,551,900

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

published version 7.27.1, a month ago28 dependents licensed under $MIT
116,867,914

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
126,190,709

Convert globs to regular expressions

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

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

published version 1.4.2, 5 years ago1336 dependents licensed under $MIT
109,231,723