-
Notifications
You must be signed in to change notification settings - Fork 11
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
out of range for slice in next_regex #104
Comments
Maybe we could use |
Thank you for the bug report, we for sure don't want to panic on invalid input. Sorry i haven't been faster to respond but I have been quite busy lately, I can take a look this weekend. |
Thank you again for the bug report. I was finally able to take a look this afternoon and found the issue. Assuming that a I should have the 0.11 fix published today and I will need to update the 0.12 version to match |
Thanks your fix |
RESS/src/tokenizer/mod.rs
Line 145 in 31d1faa
when input is
/\
(just 2 char, slash and backslash), it can causerange end index 3 out of range for slice of length 2
It seems that when found char
\
it will callskip_bytes
. And this function will not check idx just increase itThe text was updated successfully, but these errors were encountered: