Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Matches strings against configurable strings, globs, regular expressions, and/or functions
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Escape RegExp special characters
Returns true if a string has an extglob.
Expand POSIX bracket expressions (character classes) in glob patterns.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Regular expression parser for ECMAScript.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
A regular expression for file paths that contain a `node_modules` folder.
Check if a value is a regular expression
The best regular expression (regex) for matching hex color values from string.
Regex for RGB color strings.
Regex for matching RGBA color strings.
Returns an object with the (non-glob) base path and the actual pattern.
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.
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.
Returns true if the given string is a POSIX bracket expression (POSIX character class).