-
-
Notifications
You must be signed in to change notification settings - Fork 781
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
False positive matches when pattern.length > 32 #136
Comments
@krisk do you have some update regarding that issue? I have the same problem. |
Not sure how you would want to handle this but the issue lies in Since JS converts values to int32 for all bitwise operations |
I have this same issue here. That much time has passed and the bug is not fixed, or am I missing something? |
I'm also waiting on an update from @acmadden |
Any update here? |
Unfortunately I never got around to fixing the issue nor do I have the time now. I have laid out what exactly is the problem above, so if you want to submit a PR for a fix I’m sure that would be appreciated. |
…ceiling. Also tests. Issue krisk#136
@ErikLarsson82 as a matter of fact I am 😄 Your fix looks promising! |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days |
This still happens. You can see it happening with 33, 65, 129, 257 letter inputs here http://is.wasteof.money/ |
I've noticed that when the length of my search pattern is > 32 fuse matches everything in my dataset. Interestingly, if I "include matches" there aren't actually any indices in the resulting matches array.
Here's a live demo: http://codepen.io/mgalgs/pen/jyROXg
Also pasted here:
Results in:
The text was updated successfully, but these errors were encountered: