Add dots to valid path characters
This commit is contained in:
parent
3bf890998b
commit
2b644da4ca
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ class Homebrew(object):
|
||||||
\s # spaces
|
\s # spaces
|
||||||
: # colons
|
: # colons
|
||||||
{sep} # the OS-specific path separator
|
{sep} # the OS-specific path separator
|
||||||
|
. # dots
|
||||||
- # dashes
|
- # dashes
|
||||||
'''.format(sep=os.path.sep)
|
'''.format(sep=os.path.sep)
|
||||||
|
|
||||||
|
@ -99,6 +100,7 @@ class Homebrew(object):
|
||||||
\w # alphanumeric characters (i.e., [a-zA-Z0-9_])
|
\w # alphanumeric characters (i.e., [a-zA-Z0-9_])
|
||||||
\s # spaces
|
\s # spaces
|
||||||
{sep} # the OS-specific path separator
|
{sep} # the OS-specific path separator
|
||||||
|
. # dots
|
||||||
- # dashes
|
- # dashes
|
||||||
'''.format(sep=os.path.sep)
|
'''.format(sep=os.path.sep)
|
||||||
|
|
||||||
|
@ -121,6 +123,7 @@ class Homebrew(object):
|
||||||
- a string containing only:
|
- a string containing only:
|
||||||
- alphanumeric characters
|
- alphanumeric characters
|
||||||
- dashes
|
- dashes
|
||||||
|
- dots
|
||||||
- spaces
|
- spaces
|
||||||
- colons
|
- colons
|
||||||
- os.path.sep
|
- os.path.sep
|
||||||
|
@ -145,6 +148,7 @@ class Homebrew(object):
|
||||||
- a string containing only:
|
- a string containing only:
|
||||||
- alphanumeric characters
|
- alphanumeric characters
|
||||||
- dashes
|
- dashes
|
||||||
|
- dots
|
||||||
- spaces
|
- spaces
|
||||||
- os.path.sep
|
- os.path.sep
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue