mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #7355 from itiut/add-dots-to-valid-path-chars
Add dots to valid path characters
This commit is contained in:
commit
a6a1e240c6
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,7 @@ class Homebrew(object):
|
|||
\s # spaces
|
||||
: # colons
|
||||
{sep} # the OS-specific path separator
|
||||
. # dots
|
||||
- # dashes
|
||||
'''.format(sep=os.path.sep)
|
||||
|
||||
|
@ -99,6 +100,7 @@ class Homebrew(object):
|
|||
\w # alphanumeric characters (i.e., [a-zA-Z0-9_])
|
||||
\s # spaces
|
||||
{sep} # the OS-specific path separator
|
||||
. # dots
|
||||
- # dashes
|
||||
'''.format(sep=os.path.sep)
|
||||
|
||||
|
@ -121,6 +123,7 @@ class Homebrew(object):
|
|||
- a string containing only:
|
||||
- alphanumeric characters
|
||||
- dashes
|
||||
- dots
|
||||
- spaces
|
||||
- colons
|
||||
- os.path.sep
|
||||
|
@ -145,6 +148,7 @@ class Homebrew(object):
|
|||
- a string containing only:
|
||||
- alphanumeric characters
|
||||
- dashes
|
||||
- dots
|
||||
- spaces
|
||||
- os.path.sep
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue