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

Infinite loop when Hangul.rangeSearch() for empty string '' #6

Closed
Leftium opened this issue Jul 26, 2016 · 1 comment
Closed

Infinite loop when Hangul.rangeSearch() for empty string '' #6

Leftium opened this issue Jul 26, 2016 · 1 comment

Comments

@Leftium
Copy link

Leftium commented Jul 26, 2016

When the needle parameter of rangeSearch() is passed '' (empty string) the browser hangs with an infinite loop.

rangeSearch() should return an empty array if needle is an empty string.

e- added a commit that referenced this issue Jul 26, 2016
@e-
Copy link
Owner

e- commented Jul 26, 2016

What a big mistake! I fixed it. Thanks!

@e- e- closed this as completed Jul 26, 2016
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