Parses a regular expression string and returns a new regular expression.
Regular expression for matching a shebang line
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
A regex to match any full character, considering weird character ranges.
Plugin utilities for Rolldown
Regular expression for matching ANSI escape codes
Tiny helpers for processing regex syntax
Give a regex, get a robust predicate function that tests it against a string.
Strip ANSI escape codes from a string
Make a regular expression time out if it takes too long to execute
Regular expression for matching semver versions
Regular expression for matching astral symbols
Create a javascript regular expression for matching everything except for the given string.
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
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.
Generate a regex from a string or array of strings.
Escape RegExp special characters
detect possibly catastrophic, exponential-time regular expressions
Regular expression for getting the root of a posix or windows filepath.
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
The best regular expression (regex) for matching hex color values from string.
merge() utility function
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Recursive matching plugin for Regex+