Using an invalid regex in the find panel causes a crash
tstack opened this issue · comments
Tim Stack commented
Problem
Entering an invalid regular expression in the find panel will cause a crash.
How to reproduce
- Start
tl
with a file - Press
/
to open the find dialog - Enter
*
- Turn on the
Regex
checkbox - Press the the down arrow key
Expected
An error message should be shown and maybe the invalid part of the regex should be highlighted
Actual
tl
crashes with a traceback and error: nothing to repeat at position 0
Will McGugan commented
Thanks. Should be fixed in 1.1.1