bumping this in case you are still wondering after 1 year... the answer is that using seq does not work in `re.match` and you have to know beforehand the exact length of the matches array. This is an acknowledge bug (which `nre` does not have): <https://github.com/nim-lang/Nim/issues/9472>
(see also this [SO answer](https://stackoverflow.com/questions/64027629/how-to-get-captured-part-of-the-regular-expression-in-nim/64030026#64030026))