Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: Regexes: finding ALL matches (including overlap)by tlm (Prior) |
on Jun 04, 2005 at 11:40 UTC ( [id://463513]=note: print w/replies, xml ) | Need Help?? |
Just out of curiosity, why not make the "inside of brackets" subexpression something more like ? I see that the original allows for the possibility of unmatched left angle brackets, but I don't see why one would want this; i.e. I don't see why one would want to count the "y" in "<xyz", for example, but not the one in "xyz>". the lowliest monk
In Section
Seekers of Perl Wisdom
|
|