regular expressions now match rather than search