Help for this page

Select Code to Download


  1. or download this
    if ( $value =~ m/^(?: [AN]+    # Either at least one A|N 
                         |[AN]*     # or an A|N run 
    ...
                          [AN]* )
                     N$/x ){        # With a terminal N.
     print "match: $value\n"; }