Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Pattern mattching

by tilly (Archbishop)
on May 30, 2005 at 07:31 UTC ( [id://461685] : note . print w/replies, xml ) Need Help??


in reply to Re^2: Pattern mattching
in thread Pattern mattching

The pattern +000000 is in that string. Did you want it to match only if the whole string fits the pattern? If so then /^\+\d{6}\z/ should work.