aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMike McQuaid2013-10-23 12:59:42 +0100
committerMike McQuaid2013-10-23 12:59:42 +0100
commit57e541f04059329195c99edb031ffb519d68ed55 (patch)
treeca9f93007d8988a40319c29ee9373107e8fb6dfb /Library/Homebrew
parent71218a29d22f335eccaa5870e46b3667f134c4b7 (diff)
downloadbrew-57e541f04059329195c99edb031ffb519d68ed55.tar.bz2
global: further limit tap formula regex.
Diffstat (limited to 'Library/Homebrew')
-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