don't error out if no regex was entered

It's a valid use case to run the search function, but abort.
This shouldn't be scolded.