Add a Perl regex engine version of every test script

Some of the regexes run faster in Perl, and others run faster in PCRE. PCRE manifests bugs in some of the regexes, and Perl does not.