![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Problem with regexp to matchby choroba (Archbishop) |
on Oct 14, 2021 at 15:23 UTC ( #11137514=note: print w/replies, xml ) | Need Help?? |
In fact, you're interested in digits after a minus. Use the global matching to get all the matches:
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom
|
|