A simple Typescript template to start your package
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Regular expression for matching a shebang line
A regex to match any full character, considering weird character ranges.
Give a regex, get a robust predicate function that tests it against a string.
Tiny helpers for processing regex syntax
Regular expression for matching ANSI escape codes
Plugin utilities for Rolldown
Regular expression for matching astral symbols
detect possibly catastrophic, exponential-time regular expressions
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.
Create a javascript regular expression for matching everything except for the given string.
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.
Make a regular expression time out if it takes too long to execute
Generate a regex from a string or array of strings.
Strip ANSI escape codes from a string
A module that parses a string as regular expression and returns the parsed value.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Regular expression for matching file names, with or without extension.
Regular expression for getting the root of a posix or windows filepath.
Regular expression for matching semver versions
Compile ES2015 Unicode regex to ES5
The best regular expression (regex) for matching hex color values from string.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.