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, 20 days ago1291 dependents licensed under $MIT
122,021,914

Parse a glob pattern into an object of tokens.

published version 3.0.4, 9 years ago229 dependents licensed under $MIT
14,175,698

Escape a regular expression string or pattern.

published version 0.2.2, 4 months ago6 dependents licensed under $Apache-2.0
1,800,098

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 ago2818 dependents licensed under $MIT
304,255,168

Returns an object with the (non-glob) base path and the actual pattern.

published version 0.3.0, 9 years ago241 dependents licensed under $MIT
15,066,972

Returns `true` if an array has a glob pattern.

published version 1.0.0, 8 years ago49 dependents licensed under $MIT
5,427,082

XML Schema pattern (regular expression) matcher

published version 3.1.0, 2 years ago2 dependents licensed under $MIT
118,287

JavaScript replaceLast function - Replaces last match for pattern in string with replacement

published version 1.2.6, 7 years ago5 dependents licensed under $ISC
183,254

A CLI and library which tests with certainty if a regex pattern is safe from ReDoS attacks.

published version 5.1.3, 2 months ago1 dependents licensed under $MIT
39,159

easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.

published version 1.0.3, 8 years ago482 dependents licensed under $MIT
2,473,219

Create a matching function from a glob pattern, regex, string, array, object or function.

published version 1.0.0, 7 years ago13 dependents licensed under $MIT
23,233

replace strings that match a particular pattern with a React Component, recursively

published version 0.2.0, 6 years ago1 dependents licensed under $MIT
6,995

Regular expression for matching the parts of glob pattern.

published version 1.0.0, 10 years ago0 dependents licensed under $MIT
7,055

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

published version 10.4.0, 3 months ago3079 dependents licensed under $MIT
576,665,745

A tool to generate random strings based on a regex pattern using TypeScript.

published version 0.0.6, a month ago2 dependents licensed under $MIT
2,725

Pattern matching library

published version 1.5.3, a year ago0 dependents licensed under $MIT
251

A simple helper to extract values from a string based on a pattern.

published version 0.1.2, 12 years ago7 dependents
1,760

Replace strings in files by using a string, a regex pattern, or an array of either.

published version 1.1.3, 5 years ago0 dependents licensed under $MIT
431

Flexible and powerful JSON pattern validation library with support for complex, nested structures, array validation, and a wide range of validation patterns. Includes logical operators and strict/nullable types.

published version 3.1.2, 2 years ago4 dependents licensed under $ISC
1,757

Perfect Instagram pattern library extracted from Instagram.

published version 0.3.0, 2 years ago0 dependents licensed under $MIT
81