Glob Pattern Tester
How to Use the Glob Pattern Tester
Enter a glob pattern and sample file paths to see which paths match before using the pattern in a build, ignore or automation workflow.
Practical Example
The pattern **/*.js can match JavaScript files inside nested directories when the target glob implementation supports double-star recursion.
Factors That Affect the Result
Glob dialect, path separators, case sensitivity, recursive wildcard support and hidden-file rules can change matching behavior.
Frequently Asked Questions
How is glob different from regex?
Glob syntax is generally simpler and is designed primarily for matching file paths.
Does ** always mean recursive folders?
Many implementations use it that way, but exact behavior depends on the glob engine.
Should I test patterns before deleting files?
Yes, verify matches carefully before using patterns in destructive operations.
