Help for this page

Select Code to Download


  1. or download this
    The following pattern matches a function foo() which may contain
    balanced parentheses as the argument.
    ...
              )
            }x;
    
  2. or download this
    #!/bin/perl -w
    use strict;
    ...
      printf "%s\n", m{$re} ? "match" : "nomatch";
      /^q/ && exit;
    }
    
  3. or download this
    my $re = qr'^ ( 
                   {
    ...
                   )*$
                )
              'x;