Homebrew module: Added + and . characters to the package name regex.

Solves installation failures for packages like `bonnie++` or
`virtualhost.sh` as described in #8413.
This commit is contained in:
Marcus Jaschen 2014-08-13 22:31:03 +02:00
parent 6d4b429488
commit 689d519b93

View file

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