aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-10-23 12:59:42 +0100
committerMike McQuaid2013-10-23 12:59:42 +0100
commitfb845ffa0a6ceffaf722d64d9a203ae48894a6dd (patch)
tree613d32528e0f64f387331d7e07db50333fbb049e /Library/Homebrew/global.rb
parent7407434b388ce51e365affcdd7be903fb54a9f5a (diff)
downloadhomebrew-fb845ffa0a6ceffaf722d64d9a203ae48894a6dd.tar.bz2
global: further limit tap formula regex.
Diffstat (limited to 'Library/Homebrew/global.rb')
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index caa6ccb37..61625b6ae 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -83,7 +83,7 @@ HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY
HOMEBREW_CURL_ARGS = '-f#LA'
-HOMEBREW_TAP_FORMULA_REGEX = %r{(\w+)/(\w+)/([^/]+)}
+HOMEBREW_TAP_FORMULA_REGEX = %r{^(\w+)/(\w+)/([^/]+)$}
module Homebrew extend self
include FileUtils