Add regular expression support for searching.