Help for this page

Select Code to Download


  1. or download this
    my $s = "abcdefghi";
    my @a = ([ 0, 3 ], [ 0, 1 ], [ 1, 2 ], [ 2, 1 ]);
    ...
      $qr =~ s{(.{$start})}{(?<=^$1)} if $start;
      qr/$qr/;
    }