diff options
Diffstat (limited to 'Library/Homebrew/global.rb')
| -rw-r--r-- | Library/Homebrew/global.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 2345997c0..caa6ccb37 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -83,10 +83,7 @@ HOMEBREW_USER_AGENT = "Homebrew #{HOMEBREW_VERSION} (Ruby #{RUBY_VERSION}-#{RUBY HOMEBREW_CURL_ARGS = '-f#LA' -# A regular expession to capture the username (one or more char but no `/`, -# which has to be escaped like `\/`), repository, followed by an optional `/` -# and an optional query. -HOMEBREW_TAP_REGEX = /^([^\/]+)\/([^\/]+)\/?(.+)?$/ +HOMEBREW_TAP_FORMULA_REGEX = %r{(\w+)/(\w+)/([^/]+)} module Homebrew extend self include FileUtils |
