in reply to Pattern mattching
prints:$ perl -e '$str = "+000000"; $match = $str =~ /^\+\d{6}/; print "MATCH\n" if($match);'
MATCH
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Pattern mattching
by Anonymous Monk on May 30, 2005 at 07:22 UTC | |
by monkfan (Curate) on May 30, 2005 at 07:25 UTC | |
by Anonymous Monk on May 30, 2005 at 07:32 UTC | |
by holli (Abbot) on May 30, 2005 at 07:44 UTC | |
by tilly (Archbishop) on May 30, 2005 at 07:31 UTC |