aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pull.rb
diff options
context:
space:
mode:
authorXu Cheng2016-07-13 16:19:51 +0800
committerXu Cheng2016-07-13 19:11:46 +0800
commitde1049f1f1237a31f8ac6a0b9b31ebdbc78030d4 (patch)
tree855fef004b1f4daa618bb922a446bf1e2e183352 /Library/Homebrew/cmd/pull.rb
parent91fb49d270f0837e851b3e6e6b0f53848f024f6c (diff)
downloadbrew-de1049f1f1237a31f8ac6a0b9b31ebdbc78030d4.tar.bz2
various: proper escape dot in regex
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
-rw-r--r--Library/Homebrew/cmd/pull.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb
index c3d8d1e8f..3b3c68930 100644
--- a/Library/Homebrew/cmd/pull.rb
+++ b/Library/Homebrew/cmd/pull.rb
@@ -51,7 +51,7 @@ module Homebrew
issue = arg
url = "https://github.com/Homebrew/homebrew-core/pull/#{arg}"
tap = CoreTap.instance
- elsif (testing_match = arg.match %r{brew.sh/job/Homebrew.*Testing/(\d+)/})
+ elsif (testing_match = arg.match %r{brew\.sh/job/Homebrew.*Testing/(\d+)/})
_, testing_job = *testing_match
url = "https://github.com/Homebrew/homebrew-core/compare/master...BrewTestBot:testing-#{testing_job}"
tap = CoreTap.instance