![]() |
|
Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Regex Matching Queryby nvivek (Vicar) |
on Mar 26, 2013 at 05:20 UTC ( [id://1025435]=note: print w/replies, xml ) | Need Help?? |
In every match of regular expression, pre matched string, actual matched string and post matched string can be accessed from $`, $& and $' variables. For more details, check man perlre.
In Section
Seekers of Perl Wisdom
|
|