Skip to content

Commit e952aa0

Browse files
committed
fix: update GravestoneMod and Curios regexes for new filename formats
GravestoneMod now uses [NEOFORGE][mc] prefix and +mc version suffix. Curios now uses semver pre-release tags like beta.1.
1 parent 40a7052 commit e952aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mod_polling/mods.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
"curse": {
239239
"id": "238551",
240240
"field": "display",
241-
"regex": "\\[[0-9.]+\\] Gravestone Mod +(?:(?P<mc>[0-9]+(?:\\.[0-9]+)+)-)?(?P<version>[0-9]+(?:\\.[0-9]+)+)$"
241+
"regex": "(?:\\[[^\\]]+\\])+ Gravestone Mod +(?:(?P<mc>[0-9]+(?:\\.[0-9]+)+)-)?(?P<version>[0-9]+(?:\\.[0-9]+)+)(?:\\+[0-9.]+)?$"
242242
}
243243
},
244244
"Botania": {
@@ -1155,7 +1155,7 @@
11551155
"active": true,
11561156
"curse": {
11571157
"id": "309927",
1158-
"regex": "curios(?:-(?:FORGE|(?:neo)?forge))?-(?:(?:[0-9]+(?:\\.[0-9]+)+-)?)?(?P<version>[0-9]+(?:\\.[0-9]+)+(?:-[a-z0-9]+)?)(?:\\+[0-9.]+)?\\.jar"
1158+
"regex": "curios(?:-(?:FORGE|(?:neo)?forge))?-(?:(?:[0-9]+(?:\\.[0-9]+)+-)?)?(?P<version>[0-9]+(?:\\.[0-9]+)+(?:-[a-z][a-z0-9]*(?:\\.[0-9]+)?)?)(?:\\+[0-9.]+)?\\.jar"
11591159
}
11601160
}
11611161
}

0 commit comments

Comments
 (0)