aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisty De Meo2016-03-22 21:06:56 -0700
committerXu Cheng2016-03-26 14:50:10 +0800
commitc757bd7c909e1a38c298b7720f2f6c3ec79283a4 (patch)
tree4289fd4aa4bb3cd112201f2361673cd18960f398
parent81dc7316a629924c7b58d63855c654af1cc9ed3a (diff)
downloadbrew-c757bd7c909e1a38c298b7720f2f6c3ec79283a4.tar.bz2
tap_constants: support lowercase caskroom in regex
Closes Homebrew/homebrew#50343. Signed-off-by: Misty De Meo <mistydemeo@github.com>
-rw-r--r--Library/Homebrew/tap_constants.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb
index b1f724918..3eb319747 100644
--- a/Library/Homebrew/tap_constants.rb
+++ b/Library/Homebrew/tap_constants.rb
@@ -5,4 +5,4 @@ HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/([\w-]+
# match taps' formula paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap/someformula
HOMEBREW_TAP_PATH_REGEX = Regexp.new(HOMEBREW_TAP_DIR_REGEX.source + %r{/(.*)}.source)
# match the default and the versions brew-cask tap e.g. Caskroom/cask or Caskroom/versions
-HOMEBREW_CASK_TAP_FORMULA_REGEX = %r{^(Caskroom)/(cask|versions)/([\w+-.]+)$}
+HOMEBREW_CASK_TAP_FORMULA_REGEX = %r{^([Cc]askroom)/(cask|versions)/([\w+-.]+)$}