Perl Monk, Perl Meditation | |
PerlMonks |
Re: regex helpby sanPerl (Friar) |
on Jun 01, 2007 at 05:11 UTC ( [id://618643]=note: print w/replies, xml ) | Need Help?? |
(.+)? and (.+) works same in your case, because (.+) forms a greedy pattern first and which nullifies the presence of ?
In Section
Seekers of Perl Wisdom
|
|