Do you know where your variables are? | |
PerlMonks |
Re: Problem with regexp to matchby choroba (Cardinal) |
on Oct 14, 2021 at 15:23 UTC ( [id://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
|
|