'a' =~ /^xa/ # match of x fails, doesn't move on to match a #### $ perl -wE 'say "a" =~ /^(?(?=b)xxx)a/' $ # no match