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
commit32e42e064d678b97c8676dd2cbb3e22f305c5789 (patch)
tree67ff2dcb4dfd9e27ca69a4462d8da24b264d7a2d /Library/Homebrew/exceptions.rb
parented8a52301f4dc6900d5f5cb4313d08a571b25a05 (diff)
downloadhomebrew-32e42e064d678b97c8676dd2cbb3e22f305c5789.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