Add --regexp option.

It does what it sounds like it does. If this were my day job, maybe I'd
spend the effort to avoid maintaining two totally separate code paths
for regex and string matching... but it's not, so there you go.