aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/exceptions.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-21 04:24:54 +0100
committerMike McQuaid2013-10-21 18:53:24 +0100
commit077f09e4ea7cabef9f3dd7212e5ccdfff1e5001d (patch)
treeaf2bb18cc9117ad47f19eef755d913e6a00bdaba /Library/Homebrew/exceptions.rb
parent862e6ca3bcaa313935a02ab87f182abf1fd31762 (diff)
downloadbrew-077f09e4ea7cabef9f3dd7212e5ccdfff1e5001d.tar.bz2
global: unify tap regex.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index c0e9a8c73..1ea06381a 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -44,7 +44,7 @@ class FormulaUnavailableError < RuntimeError
end
def to_s
- if name =~ %r{(\w+)/(\w+)/([^/]+)} then <<-EOS.undent
+ if name =~ HOMEBREW_TAP_REGEX then <<-EOS.undent
No available formula for #$3 #{dependent_s}
Please tap it and then try again: brew tap #$1/#$2
EOS