in reply to function called by regex

The document you refer to describes Perl 6. What version are you trying this with?

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.