chafa: Simplify regex (#4465)

Change the version regex in Checkver to "[\\d.]+".
Though the version regex "\\d+\\.\\d+\\.\\d+" is OK, I realize I should make it concise as most buckets do.
This commit is contained in:
Launch Lee 2023-02-19 21:26:39 +08:00 committed by GitHub
parent 64bd0193db
commit 55b8fed812
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@
"bin": "chafa.exe", "bin": "chafa.exe",
"checkver": { "checkver": {
"url": "https://hpjansson.org/chafa/download/", "url": "https://hpjansson.org/chafa/download/",
"regex": "Get Chafa (\\d+\\.\\d+\\.\\d+) for Windows" "regex": "Get Chafa ([\\d.]+) for Windows"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {