Help for this page

Select Code to Download


  1. or download this
    $ perl -lwe '$_="foo";
                 /(\w+)/ && print "match: $1";
                 /(\W+)/ || print "no match: $1";'
    match: foo
    no match: foo