Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Can you do "conjunctive" (overlapping) conditions in a single regexp?by puterboy (Scribe) |
on Dec 18, 2008 at 03:46 UTC ( [id://731150]=note: print w/replies, xml ) | Need Help?? |
Thanks & very clever (probably too clever for my little brain ;)- I'm trying though to see whether I can use case #1, rather than your much hairier second example. I actually want to preserve the field and keep it with the split, so prior to adding the length limitation, I was using: And I want to get only the greediest match (that satisfies the length condition). So, does that mean I can't use first alternative then?
In Section
Seekers of Perl Wisdom
|
|