We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c3f5f4 commit 0b2d3baCopy full SHA for 0b2d3ba
README.md
@@ -236,3 +236,9 @@ other interpretation of the glob pattern. Thus, a pattern like
236
`+(a|{b),c)}`, which would not be valid in bash or zsh, is expanded
237
**first** into the set of `+(a|b)` and `+(a|c)`, and those patterns are
238
checked for validity. Since those two are valid, matching proceeds.
239
+
240
+Note that `fnmatch(3)` in libc is an extremely naive string comparison
241
+matcher, which does not do anything special for slashes. This library is
242
+designed to be used in glob searching and file walkers, and so it does do
243
+special things with `/`. Thus, `foo*` will not match `foo/bar` in this
244
+library, even though it would in `fnmatch(3)`.
0 commit comments