use v6; use Test; plan 1; #L my $opposites = (not(0 ~~ rx:Perl5/0/) xor not(0 !~~ rx:Perl5/0/)); ok($opposites, "~~ and !~~ are opposites");