Help for this page

Select Code to Download


  1. or download this
    my $pattern = qr//;
    $_ = 'foo';
    
    /\A \Q$pattern\E \z/x and print "Matched\n";