Hi Peter,
On 30.05.2014 22:39, Peter Schwenn wrote:
> Dear Moritz,
>
> $txt ~~ s:g/ \. Guid /.Moniker/;
>
> transforms (in $txt):System.Guid -> System.Moniker
>
> i.e. the match succeeds. So obviously I'm not understanding negative
> look-ahead correctly. Where's there a good descriptio
Hi Peter,
On 30.05.2014 20:46, Peter Schwenn wrote:
> Dear Perl6istes,
>
> How does one express in a perl6 match pattern that if a certain
> subpattern is present the match fails.
>
> I had expected something like:
>
> $txt ~~ s/... -[ unwanted \s+ pattern ] .../ .../;
>
> but its not that.
Dear Perl6istes,
How does one express in a perl6 match pattern that if a certain subpattern
is present the match fails.
I had expected something like:
$txt ~~ s/... -[ unwanted \s+ pattern ] .../ .../;
but its not that. Can't find it in S05.
Thank you,
Peter Schwenn