# HG changeset patch # User Franz Glasner # Date 1741549400 -3600 # Node ID 1371ceb6fad6a3d35f9cae39fd8fd34f81c2215e # Parent 553d6f7309d91ada5389468fe0d275aeaea1930e glob: also describe the "**/" pattern diff -r 553d6f7309d9 -r 1371ceb6fad6 cutils/util/glob.py --- a/cutils/util/glob.py Sun Mar 09 18:21:35 2025 +0100 +++ b/cutils/util/glob.py Sun Mar 09 20:43:20 2025 +0100 @@ -8,6 +8,7 @@ .. seealso:: - https://docs.oracle.com/javase/8/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String- - https://docs.oracle.com/javase/tutorial/essential/io/fileOps.html#glob + - Mercurial: :command:`hg help patterns` The following rules are used to interpret glob patterns: @@ -17,6 +18,8 @@ - The ``**`` characters matches zero or more characters crossing directory boundaries. +- ``**/`` matches zero or more subdirectories; files do not match. + - The ``?`` character matches exactly one character of a name component. - The backslash character (``\``) is used to escape characters that