We don't bite newbies here... much | |
PerlMonks |
Re: problem with optional capture groupby GrandFather (Saint) |
on Dec 22, 2020 at 20:05 UTC ( [id://11125634]=note: print w/replies, xml ) | Need Help?? |
As a general thing any .[*+] match is suspect. An often useful trick is to use a negative lookahead match to nibble one character at a time:
Prints:
Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
In Section
Seekers of Perl Wisdom
|
|