Help for this page
my $x="My name is VC"; my $y="myname"; ... if ($x =~ /($r)/) { printf "Matched from %d to %d: '%s'\n", $-[0], $+[0], $1; }
Matched from 0 to 7: 'My name'