regex to rip off function body
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
Give a regex, get a robust predicate function that tests it against a string.
Create a javascript regular expression for matching everything except for the given string.
detect possibly catastrophic, exponential-time regular expressions
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.
Regular expression for getting the root of a posix or windows filepath.
Regular expression for matching astral symbols
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.
Regular expression for matching HTML comments
Tiny helpers for processing regex syntax
The best regular expression (regex) for matching hex color values from string.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Compile regular expressions using named groups to ES5.
Regular expression for matching file names, with or without extension.
Compile ES2015 Unicode regex to ES5
Helper function to check for literal RegEx
Compile ES2015 sticky regex to an ES5 RegExp constructor
Regular expression for matching ANSI escape codes
Regular expression for matching a shebang line
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
A regular expression to match all emoji-only symbols
Generate a regex from a string or array of strings.