Help for this page

Select Code to Download


  1. or download this
    my $regex = qr{
            (?<foo> fo+ )
        }msx;
    "barfooobar" =~ $regex;
    print "<",$+{foo},">\n";     # prints "<fooo>"