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

Puzzle input for day 10 of 2021 fails to load #6

Closed
bagley2014 opened this issue Dec 10, 2021 · 2 comments
Closed

Puzzle input for day 10 of 2021 fails to load #6

bagley2014 opened this issue Dec 10, 2021 · 2 comments

Comments

@bagley2014
Copy link

So I looked at the code a bit to see what was up with this particular day, and I noticed the regex in the following line:

textResponse.length && !textResponse.match(/<[^>]+>/);

The puzzle input in question happens to be filled with < and > so the regex matched and threw and error.

I'm not sure what that check is supposed to be doing, so I don't know how to fix it. For the time being I just removed it from my local node_modules so I don't get any more false positives, but I figured I'd post here to make the issue known.

@toblu
Copy link
Owner

toblu commented Dec 13, 2021

Thanks for reporting, I was not aware of this issue! I will take a look

@toblu
Copy link
Owner

toblu commented Dec 13, 2021

Fixed in v0.1.4

@toblu toblu closed this as completed Dec 13, 2021
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