P is for Practical | |
PerlMonks |
Re^4: Divide a list of string into substrings (updated)by Anonymous Monk |
on Jun 22, 2020 at 08:09 UTC ( [id://11118350]=note: print w/replies, xml ) | Need Help?? |
Many thanks for this nice solution. Especially I like the way you search for equal substrings: /([ -~]{3,})(?:.*?\1){$n}(?{ $d{$1}++})(*FAIL)/s; I will use a lot of your ideas in my solution ...
In Section
Seekers of Perl Wisdom
|
|