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
Escape RegExp special characters
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Matches strings against configurable strings, globs, regular expressions, and/or functions
Returns true if a string has an extglob.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Expand POSIX bracket expressions (character classes) in glob patterns.
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 matching RGBA color strings.
Regex for RGB color strings.
Spec-compliant polyfill for String.prototype.matchAll
Returns an object with the (non-glob) base path and the actual pattern.
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.