![]() |
|
"be consistent" | |
PerlMonks |
Re^5: Regex for matching n-fold repititions of arbitrary charactersby bv (Friar) |
on Oct 08, 2009 at 20:21 UTC ( #800088=note: print w/replies, xml ) | Need Help?? |
Because you are only capturing one character. m// in list context returns the list of captures, which in your case is the (.). The backreference is not captured.
In Section
Seekers of Perl Wisdom
|
|