Allow toggling regexp toggle when structural search is active
Created by: attfarhan
Keeps the regexp toggle enabled when structural search is selected. Now, when clicking on the regexp toggle while structural search is enabled, you'll switch to regexp syntax. To get to literal syntax, click the structural search toggle again (same as current behavior).
Fixes https://github.com/sourcegraph/sourcegraph/issues/9078.