my $re4 = qr{ (?= (? (?<= a | (?=(?&lookback)) . ) ) ) (? \d . ) }msx; my $re4_short = qr /(?=((?<= a |(?=(?-1)).))) (\d.) /sx;