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 9edf3a749a
commit c6ac95d403

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