@main[] ^try{ ^mustfail[] }{ ^if($exception.type eq ''){ failed, that's OK $exception.handled(1) } } @mustfail[] $s[abc] ^if(^s.match[][i]){y}{n}