Help for this page

Select Code to Download


  1. or download this
    >perl -wMstrict -le
    "my $s = 'xaxaaaaa';
     print qq{matched, captured '$1'} if $s =~ /(a*)/;
    "
    matched, captured ''