Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    my $x="My name is VC";
    ...
    if ($x =~ $r) {
      printf "Matched from %d to %d: '%s'\n", $-[0], $+[0], $1;
    }