Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "my $s = 'xxxABCDEyyy';
    ...
     print qq{captured '$1'} if $s =~ m{ (ABC|ABCD|ABCDE) }xms;
    "
    captured 'ABC'