14 ms·
There are disaster regular expressions where Perl will be slow. But most of the common disasters disappeared a number of years ago. And your regular expressio
by btilly 16y ago
There are disaster regular expressions where Perl will be slow. But most of the common disasters disappeared a number of years ago. And your regular expression is one that is unlikely to have performance problems due to backtracking. (Though the regular expression engine may hate the size.)
That said, Russ Cox is generally well worth listening to.