Within Lua 5.1.4 Lua.org interpreter:
yearspart="0-ás"
yearnums,bindVowel = yearspart:match("(%d*0)%-([aáe])s")
print(yearnums,bindVowel)
results 0, á ---as expected...
The same code resulted in my lua code in the module https://hu.wikisource.org/wiki/Modul:Is_decade
resulted: nil, nil
I circumvented the problem by a direct handling of 'á' but it seems to me thet it might be a bug within the wiki's lua interpreter