Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $s = 'this is the path/to/my/file what i want';
    ...
     print qq{matched: '$1'} if $s =~ m{ \b ($rx_ptf) \b }xms;
    "
    matched: 'path/to/my/file'