-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Panic on mundane-looking input #2096
Comments
A friend with Linux informs me that it reproduces for him. So perhaps this fails on Intel, but works on AMD. |
Unfortunately, I cannot reproduce this issue, even on macOS and even when installing in the same manner as you. Could you try using Also, can you clarify whether you literally ran Can you also check whether the release binaries on this repo reproduce this issue for you? |
Ah, this is a duplicate of #1891. It will be fixed in the next release. If you install from master (e.g., |
I was ultimately able to reproduce this by running |
Oops, I meant to write The release binary reproduces it too for me. |
Ah it's been fixed.. thanks! For everything. |
What version of ripgrep are you using?
How did you install ripgrep?
With
cargo install --force --features pcre2
, on 6 December 2021.What operating system are you using ripgrep on?
macOS 12.0.1 on x64 MacBook Pro, 9th generation Intel
Describe your bug.
Panic on a normal-looking input.
What are the steps to reproduce the behavior?
In bash, run
echo -e "four\n/a " | rg -w a?
.On my Linux machine, I cannot reproduce. On my Mac, it reproduces reliably every time.
What is the actual behavior?
The text was updated successfully, but these errors were encountered: