Jabref: Search triggers too soon when entering regex

Created on 25 Sep 2019  路  5Comments  路  Source: JabRef/jabref

  1. Enable regex mode in search.
  2. Start typing F[
  3. Search triggers and results in regex error:
    grafik

Idea would be to only trigger regex search if user stops typing or if focus is left?

search

Most helpful comment

Hello,
How about instead of waiting for the user to input the text or for the search field to lose focus, we consume the exception caused due to incorrect regex?
Instead of displaying the exception we can have an incorrect syntax indicator next to the search field?

All 5 comments

How do I enable regular expression? The key binding CTRL+SHIFT+F did not open global search settings window. Also, I am not able to find the toggle buttons for regex and case sensitive search.

Hi,
this is another odd thing. You first have to enable autocompletion in the preferences.
Then enter a word and then you can use the toggle buttons.

Hello,
How about instead of waiting for the user to input the text or for the search field to lose focus, we consume the exception caused due to incorrect regex?
Instead of displaying the exception we can have an incorrect syntax indicator next to the search field?

That is a good idea, display the validation indicator like its done in the preference or other places now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jimjianghk picture jimjianghk  路  42Comments

wujastyk picture wujastyk  路  37Comments

JoKalliauer picture JoKalliauer  路  146Comments

ilippert picture ilippert  路  34Comments

tobiasdiez picture tobiasdiez  路  39Comments