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

Searching a regex of the form (and|the) causes error #350

Open
rashmi18 opened this issue Jan 28, 2016 · 1 comment
Open

Searching a regex of the form (and|the) causes error #350

rashmi18 opened this issue Jan 28, 2016 · 1 comment

Comments

@rashmi18
Copy link

When you hit '/' to enter search mode, and if you type '()' and try going back within the parentheses to type the regex. Tab hangs and it does not allow you to move the cursor backwards.

https://screenshot.googleplex.com/F1onvrJCJYV

@ewen-goisot
Copy link

Still true / almost the same problem now:
if I type « ab| » the result is «a|b» with no bug,
but if I directly type «a|», the tab freeze before I can type «b».
Also true if I type «a*b» : no time to type «b».
I think it's something like «if the empty string is valid, then freeze».
.
I also noticed that if I stop typing anything in regex search bar, after a few seconds it stops consuming my CPU, as expected.
But if I simply move the cursor (arrow keys), it consumes CPU for nothing.

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