Re: Test not working so well

[email protected] (Tom Browder)
Newsgroups perl.perl6.users
Message-ID <CAFMGiz8Bdjur=oa9dGXe8JYw=azw181n8ASUxckwuznPuBEkOA@mail.gmail.com>
Try: say so $=....

On Sat, Dec 9, 2023 at 18:22 ToddAndMargo via perl6-users <
[email protected]> wrote:

> Hi All,
>
> What am I doing wrong here?
>
>
> my $x="abc2def"; say  $x=/ ^ <[0..9]> ** 7 $ /;
> / ^ <[0..9]> ** 7 $ /
>
> [0] > my $x="abc2def"; say  $x=/ ^ <[l..z]> ** 7 $ /;
> / ^ <[l..z]> ** 7 $ /
>
> [0] >       my $x="abc2def"; say  $x~~/ ^ <[0..9]> ** 7 $ /;
> Nil
>
> [0] > my $x="abc2def"; say  $x~~/ ^ <[l..z]> ** 7 $ /;
> Nil
>
>
> I am looking for a True or a False.
>
> Many thanks,
> -T
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.