good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: capture optional textby Lotus1 (Vicar) |
on May 18, 2017 at 14:40 UTC ( [id://1190538]=note: print w/replies, xml ) | Need Help?? |
I like the idea of the zero or more match, (.*), inside the capture to make it match even if the comment isn't there. Thanks.
In Section
Seekers of Perl Wisdom
|
|