Update filtering.md

Clarify by removing the extension which makes it confusing if not careful.
This commit is contained in:
Werner Beroux 2016-01-20 16:16:24 +01:00
parent ae3a0ec27e
commit 4b40898743

View File

@ -44,9 +44,9 @@ A `*` matches anything but not a `/`.
*.jpg - matches "file.jpg"
- matches "directory/file.jpg"
- doesn't match "file.jpg/anotherfile.png"
- doesn't match "file.jpg/something"
Use `**` to match anything, including slashes.
Use `**` to match anything, including slashes (`/`).
dir/** - matches "dir/file.jpg"
- matches "dir/dir1/dir2/file.jpg"