Use PCRE regexes everywhere