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:
parent
6d4b429488
commit
689d519b93
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue