fix windows issues?

This commit is contained in:
adam j hartz 2016-06-01 21:31:59 -04:00
parent 82fff5c4d6
commit c1560d62cb
2 changed files with 2 additions and 3 deletions

View file

@ -91,9 +91,6 @@ def expand_path(s):
return os.path.expanduser(s)
WINDOWS_DRIVE_MATCHER = re.compile(r'^\w:')
def reglob(path, parts=None, i=None):
"""Regular expression-based globbing."""
if parts is None:

View file

@ -1204,6 +1204,8 @@ class CommandsCache(Set):
self._cmds_cache = frozenset(allcmds)
return self._cmds_cache
WINDOWS_DRIVE_MATCHER = re.compile(r'^\w:')
def expand_case_matching(s):
"""Expands a string to a case insenstive globable string."""