I’d like to check my understanding of the Path.wildcard/2 documentation
It states:
*
- matches any number of characters up to the end of the filename, the next dot, or the next slash.
However, the following wildcard: Path.wildcard("**/*.ex")
matches the file lib/test.pb.ex
. But if the documentation is to be believed, it shouldn’t match as the *
should only match up to the dot between test
and pb
, and the remaining pattern .ex
does not match pb.ex
.
What’s going on here? Is this a bug, is the documentation wrong, or is my understanding incorrect?
Thanks