Fix regex regexes for 5.13.6 changes

https://rt.cpan.org/Public/Bug/Display.html?id=66875
https://rt.perl.org/Public/Bug/Display.html?id=78008
Accommodate old style