clibor: update livecheck

The existing `livecheck` block for `clibor` currently returns an
`Unable to get versions` error. The regex aims to match text like
"Clibor.dmg - v1.3" but the dash has been replaced by an `–`
HTML entity. This addresses the issue by updating the regex to match
either a literal dash (en, em, or hyphen) or an HTML entity.
This commit is contained in:
Sam Ford
2024-02-29 08:16:28 -05:00
parent 4c12f468fe
commit 05e8505f9a
+1 -1
View File
@@ -15,7 +15,7 @@ cask "clibor" do
livecheck do
url "https://chigusa-web.com/clibor-for-mac-en/download/"
regex(/Clibor\.dmg\s\sv?(\d+(?:\.\d+)+)/i)
regex(/Clibor\.dmg\s*(?:[–—-]|&[a-z]+;)?\s*v?(\d+(?:\.\d+)+)/i)
end
auto_updates true