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 committed by Matt Clay
parent 96fbe86f6a
commit 1780512ef5

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