Add slash to valid characters for packages

To allow it to download packes from taps, or external commands like
caskroom/cask/brew-cask
This commit is contained in:
Enric Lluelles 2015-05-27 09:55:42 +02:00
parent 8b62a45466
commit 3f9a62c136

View file

@ -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
'''