to-regex-range
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Tokenizes a string that represents a regular expression.
Create a javascript regular expression for matching everything except for the given string.
Generate a regex from a string or array of strings.
ES6 spec-compliant RegExp.prototype.flags shim.
A regular expression for file paths that contain a `node_modules` folder.
Convert globs to regular expressions
Check if a value is a regular expression
Extended regular expressions
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 file names, with or without extension.
Create random strings that match a given regular expression.
Array extras for regular expressions
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Parses a Regular Expression and outputs an AST
Regular expressions for various Unicode character classes extracted from XRegExp
oniguruma regular expression library
Weapon regeX mutates regular expressions for use in mutation testing.
The goal of the package is to provide lightweight tools for validating strings denotings dates and time. It includes ISO 8601 datestring validation, simple YYYY-MM-DD date validation and time validation in hh:mm:ss.fff format. See details in readme.