From 34713d974215b9d8dbade8ab5f3fcb59a5a3ded2 Mon Sep 17 00:00:00 2001 From: owsla Date: Mon, 29 Jan 2007 18:09:32 +0000 Subject: 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 --- rdiff-backup/rdiff_backup/selection.py | 4 ++-- 1 file 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. -- cgit v1.2.1