rough-stuff/rough

Double check the regex in the generator

pshihn opened this issue · 1 comments

See the comment here: #174

https://glitch.com/edit/#!/plausible-slime-roof

it doesn't cause any bugs by the looks of it but does mean we can do this, not that anyone would ever want to 👀 (see that the regex isn't a regex so if you put it in the path, it'll get replace in its entirety)

i guess the original intent was just to trim whitespace so:

M       10 10

becomes M 10 10

suggest you change it to replace(/\s+/g, ' ')