DengSir / tdBattlePetScript_Rematch

7 stars 4 forks source link

rematch-experimental fails version string regex #2

Closed bloerwald closed 5 years ago

bloerwald commented 5 years ago

The versions of rematch available at https://www.wowinterface.com/downloads/info24832-Rematch-Experimental.html have version strings like 4.8.9-exp-01 which does not match '^(%d+)%.%d+%.%d+$'. Hack fix I use is to just remove the $, seeing that Lua regexes don't like optional groups(?). Alternative could be defaulting to 4 instead of 0.

bloerwald commented 5 years ago

Fixed by 51e5d8cfff628d7e5adab2cc50a138905906110e