XP is just a number | |
PerlMonks |
Re^12: Understanding a portion of perlretutby Corion (Patriarch) |
on Dec 10, 2015 at 13:30 UTC ( [id://1149894]=note: print w/replies, xml ) | Need Help?? |
The repeated capturing overwrites the value in $1. If you want the repetition inside of a capture variable, you'll have to use something like ((?:\w\w\w)*?).
In Section
Seekers of Perl Wisdom
|
|