Add support for matching regular expressions