fix: fix wcmatch not matching root directories, fix '**' to match 'zero or more'

This commit is contained in:
Travis Abendshien
2026-09-13 14:00:03 -07:00
parent 3516745746
commit c778ff2376
2 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ A `!` prefix before a pattern negates the pattern, allowing any files matched ma
```toml
# All .jpg files will be ignored, except any located in the 'Photos' folder.
*.jpg
Photos/!*.jpg
!Photos/*.jpg
```
=== "Escape a ! Symbol"
```toml