Git Conventional Commit & URL Converter
About Glob Pattern Tester
The Glob Pattern Matcher & Path Spec Tester tests file globbing patterns (`**/*.{js,ts}`, `src/**/test_*.py`, `!*.min.js`) against file directory trees with real-time match evaluation and path filtering.
How to Use Glob Pattern Tester
Step 1
Enter your glob pattern (e.g. `src/**/*.tsx`).
Step 2
Paste your list of file paths (one per line).
Step 3
Inspect the live Matched vs Unmatched status indicators.
Step 4
Click "Copy Filtered Paths".
Practical Use Cases for Glob Pattern Tester
Testing Build Tool & Linter File Inclusions
Verify file glob expressions used in ESLint, Prettier, Webpack, Vite, and Jest configuration files before running CI builds.
Auditing File Search Patterns in CLI Scripts
Test bash / zsh globstar patterns and fast-glob strings against complex multi-folder file lists.
Input & Output Examples
Testing Glob Match for TypeScript Source Files
Glob: `src/**/!(*.test).ts` | Paths: `src/index.ts`, `src/utils/math.ts`, `src/index.test.ts`
`src/index.ts` $\\rightarrow$ ✅ Match | `src/utils/math.ts` $\\rightarrow$ ✅ Match | `src/index.test.ts` $\\rightarrow$ 🚫 Ignored
Key Features & Performance
- ✓Supports standard glob syntax: `*`, `**` (globstar), `?`, `{a,b}` (brace expansion), `!(pattern)` (negation), `+(pattern)`, `*(pattern)`.
- ✓Batch evaluation: tests entire file directory paths simultaneously.
- ✓Highlights matched directory segments and file extensions.
- ✓100% Client-Side memory execution.
- ✓1-Click Copy match summary.
Key Terminology & Definitions
Globstar (`**`)
A glob wildcard that matches across zero or more directories recursively in a file system path.
Brace Expansion (`{js,ts}`)
A glob syntax generating arbitrary comma-separated string variations within a pattern.
