Show More
@@ -114,9 +114,9 b' def _patsplit(pat, default):' | |||||
114 | """Split a string into an optional pattern kind prefix and the |
|
114 | """Split a string into an optional pattern kind prefix and the | |
115 | actual pattern.""" |
|
115 | actual pattern.""" | |
116 | if ':' in pat: |
|
116 | if ':' in pat: | |
117 |
|
|
117 | kind, val = pat.split(':', 1) | |
118 |
if |
|
118 | if kind in ('re', 'glob', 'path', 'relglob', 'relpath', 'relre'): | |
119 |
return |
|
119 | return kind, val | |
120 | return default, pat |
|
120 | return default, pat | |
121 |
|
121 | |||
122 | def _globre(pat): |
|
122 | def _globre(pat): |
General Comments 0
You need to be logged in to leave comments.
Login now