You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash report (non-fatal) when searching for invalid regex phrase #1038
Describe the bug
A crash pop up shows with the following error:
terminator crashed with gi.repository.GLib.GError in do_search(): g-regex-error-quark: Error while compiling regular expression Target( at char 7: missing terminating ) (114)
Note that the program continues to run/behave well if you dismiss the error report, so this is not a fatal crash.
To Reproduce
Search for Target( - or any other invalid regex.
Expected behavior
No error report 🙂
I suppose there are several ways to handle this scenario:
Do nothing until the input is valid
Explicitly tell the user that the input is wrong/invalid
Parse non-valid regexes as plain text (i.e.: Target( becomes Target\( )
Screenshots
Without any config:
Desktop (please complete the following information):
Activity
JAugusto42 commentedon Jan 27, 2026
Hi @bblommers Thanks for the report, i already reproduce here i will take a look :)
fix: handle invalid regex gracefully in search (fixes gnome-terminato…
bblommers commentedon Feb 10, 2026
Thank you all for fixing this! ❤️ @JAugusto42 @dmzoneill @mattrose