Update Casks/3/3dgenceslicer.rb

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
This commit is contained in:
Justin Krehel
2023-11-07 09:14:53 -05:00
committed by GitHub
co-authored by Sam Ford
parent 94109b869a
commit e468527d82
+1 -2
View File
@@ -9,8 +9,7 @@ cask "3dgenceslicer" do
livecheck do
url "https://support.3dgence.com/software.html"
regex(/3DGence(?:[._-]|\s)?Slicer(?:[._-]|\s)?(\d+(?:\.\d+)+)(?:[._-]|\s)?
\((?:version|v)?(?:[._-]|\s)?(\d+(?:\.\d+)+)\)(?:[._-]|\s+)*system(?:[._-]|\s)MacOS/ix)
regex(/3DGence\s+SLICER\s+v?(\d+(?:\.\d+)+)\s+\((?:version\s+|v)?(\d+(?:\.\d+)+)\)\s+-\s+system\s+MacOS/im)
strategy :page_match do |page, regex|
page.scan(regex).map do |match|
"#{match[1]},#{match[0]}"