Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Pattern mattching

by monkfan (Curate)
on May 30, 2005 at 07:16 UTC ( [id://461667] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -e '$str = "+000000"; $match = $str =~ /^\+\d{6}/;
    print "MATCH\n" if($match);'
    
  2. or download this
    MATCH