Workaround a regex bug in perl 5.18.{1,2} RT#91420