Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Re: Detecting transpositionsby Cine (Friar) |
on Aug 06, 2003 at 16:39 UTC ( [id://281478]=note: print w/replies, xml ) | Need Help?? |
So here it is with bonus, just a little longer... And now, its just a little faster than yours. Except on large identical strings where it is 3 times faster because of the first line. Without it the regexp would perform very slow.
T I M T O W T D I
In Section
Seekers of Perl Wisdom
|
|