my $re_start = qr/../; #match string begining with two of anything (0 or more times each!) # but still a potential problem: would match a null string) # so, perhaps, qr/.{1).(1)/ which will not allow a string # (preceding the comma in your initial set of regexen) # with anything other than two instances of something # or another