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

Solves installation failures for packages like `bonnie++` or
`virtualhost.sh` as described in #8413.
reviewable/pr18780/r1
Marcus Jaschen 10 years ago
parent 6d4b429488
commit 689d519b93

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

Loading…
Cancel
Save