Skip to content
Snippets Groups Projects
Commit c757bd7c authored by Misty De Meo's avatar Misty De Meo Committed by Xu Cheng
Browse files

tap_constants: support lowercase caskroom in regex


Closes Homebrew/homebrew#50343.

Signed-off-by: default avatarMisty De Meo <mistydemeo@github.com>
parent 81dc7316
No related branches found
No related tags found
No related merge requests found
......@@ -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+-.]+)$}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment