in reply to Re^3: Hash/Array slice : how to exclude items? -- be careful of anchoring
in thread Hash/Array slice : how to exclude items?

Well spotted by you and badly tested by me, thanks.

In the end the regex is a poor man's alternative for the unfortunately designed smartmatch operator ~~

Actually I was too occupied worrying if I need to quotemeta the input or if keeping the door open for regex-metas is a better interface, and forgot about precedence here.

So another "fault" in the concept. =)

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^4: Hash/Array slice : how to exclude items? -- be careful of anchoring