Help for this page

Select Code to Download


  1. or download this
    my $match= "hi";
    my $re= qr/($match)/;
    ...
    $match= "lo";
    $re= qr/($match)/;
    print "\$re is $re\n";
    
  2. or download this
    $match is hi
    $re is (?-xism:(hi))
    $re is (?i-xsm:(hi))
    $re is (?-xism:(lo))