[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] exclude wildcards with backslash
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] exclude wildcards with backslash |
Date: |
Fri, 07 May 2010 00:00:44 +0300 |
Eric Blake <address@hidden> ha escrit:
> This doesn't handle: []\a] as the set that recognizes '\\', 'a', or ']'.
> Should it?
No, it should not. This function is applied to strings that
failed the fnmatch_pattern_has_wildcards test, i.e. which are not
(valid) globbing patterns. Your example, however, is a valid pattern
and will be handled by fnmatch instead.
Regards,
Sergey