Fix livecheck regex. (#144221)

This commit is contained in:
Markus Reiter
2023-03-31 04:29:55 +08:00
committed by GitHub
parent 5194c153fb
commit 797f5af3bf
+1 -1
View File
@@ -10,7 +10,7 @@ cask "edrawmind" do
livecheck do
url "https://www.edrawsoft.com/download-edrawmind.html"
strategy :page_match do |page|
match = page.match(/for\s+Mac.*?(\d+(?:\.\d+)+).*?edrawmind[.-_]full(\d+)\./m)
match = page.match(/for\s+Mac.*?(\d+(?:\.\d+)+).*?edrawmind[._-]full(\d+)\./m)
"#{match[1]},#{match[2]}" if match
end
end