Commit 38499c1a authored by Wayne Davison's avatar Wayne Davison

Mention that a pattern with "**" is matched against the entire path, even

if the pattern doesn't contain a slash.
parent 170381c0
...@@ -913,11 +913,11 @@ itemize( ...@@ -913,11 +913,11 @@ itemize(
it() if the pattern includes a double asterisk "**" then all wildcards in it() if the pattern includes a double asterisk "**" then all wildcards in
the pattern will match slashes, otherwise they will stop at slashes. the pattern will match slashes, otherwise they will stop at slashes.
it() if the pattern contains a / (not counting a trailing /) then it it() if the pattern contains a / (not counting a trailing /) or a "**"
is matched against the full filename, including any leading then it is matched against the full filename, including any leading
directory. If the pattern doesn't contain a / then it is matched directory. If the pattern doesn't contain a / or a "**", then it is
only against the final component of the filename. Again, remember matched only against the final component of the filename. Again,
that the algorithm is applied recursively so "full filename" can remember that the algorithm is applied recursively so "full filename" can
actually be any portion of a path. actually be any portion of a path.
it() if the pattern starts with "+ " (a plus followed by a space) it() if the pattern starts with "+ " (a plus followed by a space)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment