Add @ to valid package name characters (#18862)

NodeJS formulae are now named node@<major_version>

E.g. https://github.com/Homebrew/homebrew-core/blob/master/Formula/node@6.rb
This commit is contained in:
Martin Bektchiev 2017-01-03 22:05:37 +02:00 committed by René Moser
parent 61897fa4b7
commit 1c13ddf7c8

View file

@ -179,6 +179,7 @@ class Homebrew(object):
\+ # plusses \+ # plusses
- # dashes - # dashes
: # colons (for URLs) : # colons (for URLs)
@ # at-sign
''' '''
INVALID_PATH_REGEX = _create_regex_group(VALID_PATH_CHARS) INVALID_PATH_REGEX = _create_regex_group(VALID_PATH_CHARS)