changeset 311:6d1add815d14

FIX: doc string for glob syntax rules
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 10 Mar 2025 01:45:09 +0100
parents 1371ceb6fad6
children f5f54b9c3552
files cutils/util/glob.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cutils/util/glob.py	Sun Mar 09 20:43:20 2025 +0100
+++ b/cutils/util/glob.py	Mon Mar 10 01:45:09 2025 +0100
@@ -30,9 +30,9 @@
 - The ``[ ]`` characters are a bracket expression that match a single
   character of a name component out of a set of characters. For example,
   ``[abc]`` matches "``a``", "``b``", or "``c``". The hyphen (``-``) may
-  be used to specify a range so ``'[^/]*'[a-z]`` specifies a range that matches
+  be used to specify a range so ``[a-z]`` specifies a range that matches
   from "``a``" to "``z``" (inclusive). These forms can be mixed so
-  ``[abce-g]`` matches "``a``", "``b``", "``c``", "``ey", "``f``" or
+  ``[abce-g]`` matches "``a``", "``b``", "``c``", "``e``", "``f``" or
   "``g``".
 
   If the character after the ``[`` is a ``!`` then it is used for negation