filename-reserved-regex
Regular expression for matching reserved filename characters
Regular expression for matching reserved filename characters
Extended regular expressions
A regex to match any full character, considering weird character ranges.
Returns an object with the (non-glob) base path and the actual pattern.
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Returns true if a filepath is a windows UNC file path.
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.
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
Parse a glob pattern into an object of tokens.
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.
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
Regular expression for getting the root of a posix or windows filepath.
A library for teleporting rich data to another place.
Create random strings that match a given regular expression.
Clone and modify a RegExp instance
Find multiple RegExp matches in a string
Returns `true` if an array has a glob pattern.