Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Divide a list of string into substrings (updated)

by Anonymous Monk
on Jun 22, 2020 at 08:09 UTC ( #11118350=note: print w/replies, xml ) Need Help??


in reply to Re^3: Divide a list of string into substrings (updated)
in thread Divide a list of string into substrings

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 ...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11118350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2021-10-22 16:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (85 votes). Check out past polls.

    Notices?