Help for this page

Select Code to Download


  1. or download this
    ...
    sub convert
    ...
    
    "three - four - five+89" =~ $re;
    print "baz=$~{baz}, qux=$~{qux}, $~{3}\n";
    
  2. or download this
    my $re = qr/(?\$bar=\w+) - (?\$qux{not}=\w+)/;
    
  3. or download this
    ...
    sub convert
    ...
        $re
    }
    ...
    
  4. or download this
    my $re = qr/...(?\$var=a(\d+|\w-\w+)b).../;