search: lucky rule to interpret patterns as regexps
Created by: rvantonder
Stacked on https://github.com/sourcegraph/sourcegraph/pull/38519.
pretty cool:
Note that the regex in /.../
is not yet highlighted, that will happen once https://github.com/sourcegraph/sourcegraph/pull/38581 is merged
Test plan
Added tests.