Skip to content

Commit

Permalink
Merge pull request Homebrew#161761 from chenrui333/sevenzip-livecheck
Browse files Browse the repository at this point in the history
sevenzip: update livecheck
  • Loading branch information
samford authored Feb 5, 2024
2 parents 04f41c0 + 1179eab commit 2bde58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/s/sevenzip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Sevenzip < Formula

livecheck do
url "https://7-zip.org/download.html"
regex(/>\s*Download\s+7-Zip\s+v?(\d+(?:\.\d+)+)(?!\s+\(beta\))[\s<]/im)
regex(%r{>\s*Download\s+7-Zip\s+v?(\d+(?:\.\d+)+)\s+\([^)]+?\)(?:</?[^>]+?>)*:}im)
end

bottle do
Expand Down

0 comments on commit 2bde58c

Please sign in to comment.