Replace TDFA with PCRE.