Help for this page

Select Code to Download


  1. or download this
        my $string = <>;
        my %substrings;
        $string =~ /(.+)(?{ $substrings{ $1 } = 1 })(*FAIL)/;
    
  2. or download this
        / (\b\d+\b) .*? (\b\d+\b) (?{ $count += $1 > $2 }) (*FAIL) /x;