aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/tap_constants.rb
diff options
context:
space:
mode:
authorXu Cheng2015-12-07 00:04:40 +0800
committerXu Cheng2015-12-09 16:56:59 +0800
commit6e92609cf42c18a84c0eefd3e7dea56856330f76 (patch)
treea79454b0c44d5392bd8ebda2b514edb75f82492e /Library/Homebrew/tap_constants.rb
parent061a34b138232083fdad7eaf28a30085adccbf42 (diff)
downloadbrew-6e92609cf42c18a84c0eefd3e7dea56856330f76.tar.bz2
Formulary: use same logic to handle core fully-qualified name
Diffstat (limited to 'Library/Homebrew/tap_constants.rb')
-rw-r--r--Library/Homebrew/tap_constants.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb
index ce470bd4b..ef8077d1b 100644
--- a/Library/Homebrew/tap_constants.rb
+++ b/Library/Homebrew/tap_constants.rb
@@ -1,7 +1,5 @@
# match taps' formulae, e.g. someuser/sometap/someformula
HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-.]+)$}
-# match core's formulae, e.g. homebrew/homebrew/someformula
-HOMEBREW_CORE_FORMULA_REGEX = %r{^homebrew/homebrew/([\w+-.]+)$}i
# match taps' directory paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap
HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/([\w-]+)/([\w-]+)}
# match taps' formula paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap/someformula