Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double check the regex in the generator #180

Open
pshihn opened this issue May 18, 2021 · 1 comment
Open

Double check the regex in the generator #180

pshihn opened this issue May 18, 2021 · 1 comment

Comments

@pshihn
Copy link
Collaborator

pshihn commented May 18, 2021

See the comment here: #174

@43081j
Copy link
Contributor

43081j commented May 18, 2021

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, ' ')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants