On 03/13/2017 01:16 AM, Elizabeth Mattijsen wrote:
On 13 Mar 2017, at 08:27, ToddAndMargo wrote:
Hi All,
What am I doing wrong here?
$ perl6 -e 'my $x="abc\(123\)def"; $x ~~ m/(abc\))(123)(\(def)/; say "$x\n\$0=<$0>
\$1=<$1> \$2=<$2>\n";'
Use of Nil in string
$ perl6 -e 'my $x="abc(123)def"; say $x ~~ m/(abc)(\(123\))(def)/;'
-am
On 13.03.17 00:27, ToddAndMargo wrote:
> Hi All,
>
> What am I doing wrong here?
>
> $ perl6 -e 'my $x="abc\(123\)def"; $x ~~ m/(abc\))(123)(\(def)/; say
> "$x\n\$0=<$0> \$1=<$1> \$2=<$2>\n";'
>
> Use of Nil in string
> On 13 Mar 2017, at 08:27, ToddAndMargo wrote:
>
> Hi All,
>
> What am I doing wrong here?
>
> $ perl6 -e 'my $x="abc\(123\)def"; $x ~~ m/(abc\))(123)(\(def)/; say
> "$x\n\$0=<$0> \$1=<$1> \$2=<$2>\n";'
>
> Use of Nil in string context
> in block at -e line 1
>