Thank you. That works. Could you explain to me what was wrong with my code? It seems that the important part is the var matches: array[1, string] Run
Why is var matches: seq[string] Run wrong? I thought that's a list of strings that can be dynamically extended.