There's more than one way to do things | |
PerlMonks |
Re^2: Capture variable length pattern when it repeats variable timesby exilepanda (Friar) |
on Apr 02, 2013 at 06:30 UTC ( [id://1026592]=note: print w/replies, xml ) | Need Help?? |
Work like a charm!! Big Thanks!!
I added $String .= $String for ( 1..4 ) and run the test. Yours cost 0sec while mine took 6secs. Totally be defeated. This also reminds me that mastering regex is really another great topic, though I can read and understand your code, but believe thaz quite far to figure out one like this by myself! Thank you very much again! =)
In Section
Seekers of Perl Wisdom
|
|