in reply to Re^8: simplifying substitution
in thread simplifying substitution

> folk like yourself tell me that it wasn't supposed to happen that way

If you could share a demonstration of your claims, I'd be happy to investigate it. I'm trying to help you, and I'd be glad if I educated myself along the way.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^10: simplifying substitution
by Polyglot (Chaplain) on Mar 08, 2021 at 16:19 UTC

    I think I'm the one who just got educated. I set up a test and confirmed that the spaces are matched unless the /x flag is used. I may have known about that once in the distant past but had forgotten it. I believe I'll remember this better from now on!

    Thanks for your promptings.

    Blessings,

    ~Polyglot~