summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-01-29 18:09:32 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2007-01-29 18:09:32 +0000
commit34713d974215b9d8dbade8ab5f3fcb59a5a3ded2 (patch)
tree4fa03208cfeed9e5571f1a15417de9dcfbd4aee9
parent753a094e5ec3b1e1df86090e891edb81769c61d8 (diff)
downloadrdiff-backup-34713d974215b9d8dbade8ab5f3fcb59a5a3ded2.tar.gz
Fix comment in glob_to_re now that special characters can be escaped.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@787 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/rdiff_backup/selection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rdiff-backup/rdiff_backup/selection.py b/rdiff-backup/rdiff_backup/selection.py
index 47bc1ef..6a02e24 100644
--- a/rdiff-backup/rdiff_backup/selection.py
+++ b/rdiff-backup/rdiff_backup/selection.py
@@ -629,8 +629,8 @@ probably isn't what you meant.""" %
"""Returned regular expression equivalent to shell glob pat
Currently only the ?, *, [], and ** expressions are supported.
- Ranges like [a-z] are also currently unsupported. There is no
- way to quote these special characters.
+ Ranges like [a-z] are also currently unsupported. These special
+ characters can be quoted by prepending them with a backslash.
This function taken with minor modifications from efnmatch.py
by Donovan Baarda.