Give a regex, get a robust predicate function that tests it against a string.
Socket.dev optimized package override for safe-regex-test
No description provided.
detect possibly catastrophic, exponential-time regular expressions
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
detect possibly catastrophic, exponential-time regular expressions
Regular expression for matching semver versions
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Regular expression for matching ANSI escape codes
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.
TypeScript definitions for safe-regex
Regular expression for matching IP addresses (IPv4 & IPv6)
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Regular expression for matching reserved filename characters
Make a regular expression time out if it takes too long to execute
Compile ES2015 Unicode regex to ES5
Compile regular expressions using named groups to ES5.
Compile ES2015 sticky regex to an ES5 RegExp constructor
Regular expression for matching IP addresses in CIDR notation
Compile Unicode property escapes in Unicode regular expressions to ES5.
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Compile regular expressions' unicodeSets (v) flag.
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.
No description provided.
No description provided.