gopp
gopp copied to clipboard
Tokenize method panics if regex dosen't contain any groups
Specifically, the line:
capturedText := matches[1]
Is out of bounds. It looks like the length of matches is actually inspected later on (line 69), but by that point it's too late :)