Welcome to the Monastery | |
PerlMonks |
Re^2: Search for identical substringsby bioMan (Beadle) |
on Aug 18, 2005 at 17:00 UTC ( [id://484878]=note: print w/replies, xml ) | Need Help?? |
Ultimately all my code revolves around the regex /(.{$min,}).*\1/giI realize that the regex is the rate limiting step in this process. Of course $min is necessary because allowing regex to look for all matches is prohibitive. Being ignorant of the subtleties of perl I don't know if there are other ways to effectively match substrings.
In Section
Seekers of Perl Wisdom
|
|