summaryrefslogtreecommitdiff
path: root/buildstream/utils.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-06-30 18:57:54 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-06-30 18:57:54 +0900
commit499bacc276497fa12b71a778cdaf15d83e8efdd2 (patch)
treea2edf56167a8d7ba60b4beb44d8fb7ba9948c5e6 /buildstream/utils.py
parente6441c354d8972775795e333ab1211c6ec1ff970 (diff)
downloadbuildstream-499bacc276497fa12b71a778cdaf15d83e8efdd2.tar.gz
utils.py: Rewording some docstrings for new glob() api
Diffstat (limited to 'buildstream/utils.py')
-rw-r--r--buildstream/utils.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/buildstream/utils.py b/buildstream/utils.py
index d84f0163f..e9726933b 100644
--- a/buildstream/utils.py
+++ b/buildstream/utils.py
@@ -114,19 +114,19 @@ def glob(paths, pattern):
+--------+------------------------------------------------------------------+
| Meta | Description |
+========+==================================================================+
- | \* | Match any pattern except a path separator |
+ | \* | Zero or more of any character, excepting path separators |
+--------+------------------------------------------------------------------+
- | \** | Match any pattern, including path separators |
+ | \** | Zero or more of any character, including path separators |
+--------+------------------------------------------------------------------+
- | ? | Match any single character |
+ | ? | One of any character, except for path separators |
+--------+------------------------------------------------------------------+
- | [abc] | Match one of the specified characters |
+ | [abc] | One of any of the specified characters |
+--------+------------------------------------------------------------------+
- | [a-z] | Match one of the characters in the specified range |
+ | [a-z] | One of the characters in the specified range |
+--------+------------------------------------------------------------------+
- | [!abc] | Match any single character, except the specified characters |
+ | [!abc] | Any single character, except the specified characters |
+--------+------------------------------------------------------------------+
- | [!a-z] | Match any single character, except those in the specified range |
+ | [!a-z] | Any single character, except those in the specified range |
+--------+------------------------------------------------------------------+
.. note::