On Sat, Jan 30, 2021 at 05:52:54PM -0800, Joseph Brenner wrote:
> Which means there's some potential confusion if you really need
> to match quotes:
>
> my $str = 'string_632="The chicken says--", voice="high"';
>
> say
> $str ~~ m:g{ ( " .*? " ) }; # False
> say
> $str ~~ m:g{ ( \" .*? \" ) }; # let's feed [...]
FWIW, it's also possible to quote the quotes:
say
$str ~~ m:g{ ( '"' .*? '"' ) }
Pm
