Help for this page

Select Code to Download


  1. or download this
    my @captures = ($input_token =~ /$regex/);
    
  2. or download this
    my $repl_index = 1;
    { 
    ...
        my @captures = ($str =~ /$regex/i);
        print "yields: ", $captures[$repl_index], "\n";
    }