Add slash to valid characters for packages

To allow it to download packes from taps, or external commands like
caskroom/cask/brew-cask
reviewable/pr18780/r1
Enric Lluelles 10 years ago
parent 8b62a45466
commit 3f9a62c136

@ -116,6 +116,7 @@ class Homebrew(object):
VALID_PACKAGE_CHARS = r'''
\w # alphanumeric characters (i.e., [a-zA-Z0-9_])
. # dots
/ # slash (for taps)
\+ # plusses
- # dashes
'''

Loading…
Cancel
Save