Help for this page

Select Code to Download


  1. or download this
    my $modifiers = 'i';
    my $text = 'abc';
    ...
    if ( $text =~ m/(?$modifiers:$pattern)/) {
       print "it matches\n";
    }