How to Test Glob Patterns
Glob Matching
When to Test Glob Patterns
Verify .gitignore rules, build include globs, and minimatch-style path filters before committing CI config. Paste candidate file paths one per line to see which match your pattern.
Pattern Syntax
* matches within a path segment, ** matches across segments, and ? matches a single character. Results show the equivalent regular expression for debugging.
Developer Tips
- Test negation rules in gitignore with care — order matters
- CI glob flavors differ slightly — confirm against your runner docs
- Use the Regex Tester tab for full regular expression workflows
Frequently asked questions
Is this identical to gitignore matching?
Similar syntax; gitignore adds negation and directory rules this tester does not fully emulate.
Can I test a single filename?
Yes. Paste one path line or many paths separated by newlines.