Simplify the search regex

This one is a bit simpler and thus probably slightly more performant.