How is msg.match[1] getting spaces in it? It should be capturing `\w+`, which wouldm't match spaces.