Help for this page

Select Code to Download


  1. or download this
    use Modern::Perl;
    
    my $string = 'Search, find and tell me! where, oh where are those funn
    +y characters???';
    ...
    push @positions, [$1, pos($string)] while ($string =~ m/([-\s,.!?;])/g
    +);
    }