diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/global.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 54102f4d5..00f076c86 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -98,7 +98,7 @@ module Homebrew alias_method :failed?, :failed end -HOMEBREW_PULL_OR_COMMIT_URL_REGEX = %r[https://github\.com/([\w-]+)/homebrew(-[\w-]+)?/(?:pull/(\d+)|commit/\h{4,40})] +HOMEBREW_PULL_OR_COMMIT_URL_REGEX = %r[https://github\.com/([\w-]+)/homebrew(-[\w-]+)?/(?:pull/(\d+)|commit/[0-9a-fA-F]{4,40})] require 'compat' unless ARGV.include? "--no-compat" or ENV['HOMEBREW_NO_COMPAT'] |
