regex packages
Packages tagged with "regex".
10 packages
Escape RegExp special characters
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
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Tokenizes a string that represents a regular expression.
ES6 spec-compliant RegExp.prototype.flags shim.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Returns true if a string has an extglob.
Compile regular expressions using named groups to ES5.
detect possibly catastrophic, exponential-time regular expressions
Regular expression for matching a shebang line