Help for this page

Select Code to Download


  1. or download this
    ababa
       ^ the regex engine starts looking for the second match here
    
  2. or download this
    17:58 >perl -Mstrict -wE "my $s = 'ababa'; my $t = 'aba'; my $c = () =
    + $s =~ /(?=$t)/g; say $c;"
    2
    
    18:02 >