The stupid question is the question not asked | |
PerlMonks |
Re: can u suggest a regex for this ?by Discipulus (Canon) |
on Feb 03, 2023 at 15:49 UTC ( [id://11150132]=note: print w/replies, xml ) | Need Help?? |
Hello misterperl also flip-flop can be used (look for the scalar context usage):
L* PS ^\^ is actually a cat :) PPS overlooked previous answer was already using flip-flop.. let rephrase: you can also use flip-flop directly :)
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|