Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
83
Token-level pattern analysis
Uses picomatch.scan()
100%
100%
Returns scan metadata
100%
100%
Uses picomatch.parse()
100%
100%
Returns parse state
100%
100%
Correct picomatch import
100%
100%
Regex generation with compileRe()
Uses picomatch.parse()
0%
0%
Uses picomatch.compileRe()
0%
0%
Uses picomatch.test()
0%
100%
Correct function workflow
0%
0%
Quick pattern matching with isMatch()
Uses picomatch.isMatch()
0%
100%
Handles multiple patterns
50%
100%
Implements exclusion logic
60%
100%
Correct function usage
0%
100%
Extended glob (extglob) patterns - ?(pattern)
Uses picomatch function
0%
100%
?(pattern) syntax usage
93%
93%
Optional extension handling
100%
100%
Optional sequence matching
100%
100%
Returns matcher function
100%
100%
Custom format functions
Uses picomatch function
100%
100%
Implements format option
0%
100%
Strips ./ prefix
100%
100%
Strips ~/ prefix
100%
100%
Preserves unprefixed paths
100%
100%
Cross-platform path support
Windows option usage
100%
100%
Platform-specific matching
100%
100%
Case sensitivity handling
100%
100%
Matcher function creation
100%
100%
Batch matching implementation
100%
100%
Path normalization
100%
100%
Regex creation with toRegex()
toRegex() usage
0%
100%
nocase option
66%
100%
Regex testing
100%
0%
Correct API
0%
100%
Pattern compilation with makeRe()
Uses makeRe()
0%
0%
Regex testing
0%
0%
Options handling
25%
50%
Multiple patterns
93%
86%
Validator structure
100%
90%
Custom range expansion with expandRange()
Uses picomatch function
100%
100%
Implements expandRange callback
0%
100%
Correct callback signature
0%
50%
Zero-padding logic
0%
100%
Returns matcher function
100%
100%
Handles range patterns
100%
100%
Globstar (**) for recursive matching
picomatch import
100%
100%
Globstar pattern usage
100%
100%
Path construction
100%
100%
Pattern matching integration
100%
100%
Recursive traversal
100%
100%
Correct output
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-picomatch