Implement regular expression search.

This is an actual regular expression, not a file name pattern.