super/cc: loosen cellar formula regex.
Match HOMEBREW_TAP_FORMULA_REGEX to avoid skipping valid cellar regexes.
This commit is contained in:
parent
9cd5a21b47
commit
ab060c9d52
@ -31,7 +31,7 @@ class Cmd
|
||||
@deps = Set.new(ENV.fetch("HOMEBREW_DEPENDENCIES") { "" }.split(","))
|
||||
@formula_prefix = ENV["HOMEBREW_FORMULA_PREFIX"]
|
||||
# matches opt or cellar prefix and formula name
|
||||
@keg_regex = %r[(#{Regexp.escape(opt)}|#{Regexp.escape(cellar)})/([\w\-_\+]+)]
|
||||
@keg_regex = %r[(#{Regexp.escape(opt)}|#{Regexp.escape(cellar)})/([\w+-.@]+)]
|
||||
end
|
||||
|
||||
def mode
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user