On 08/02/2018 05:18 AM, Timo Paulssen wrote:
Is this what you want?perl6 -e 'say "12345" ~~ /^<+alnum -alpha>+$/' 「12345」 perl6 -e 'say "123a45" ~~ /^<+alnum -alpha>+$/' Nil HTH - Timo
What does the following do? +alnum (why does it need the "+"?) -alpha (I presume "-" means negate?) +$ Many thanks, -T