Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
if ($chart_name =~ /^([-\@\w.]+)$/) { #good data } else { die; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: simple regex for names or last names
by Zaxo (Archbishop) on May 03, 2005 at 04:29 UTC | |
|
Re: simple regex for names or last names
by davidrw (Prior) on May 03, 2005 at 03:47 UTC | |
by tlm (Prior) on May 03, 2005 at 11:50 UTC | |
|
Re: simple regex for names or last names
by Grygonos (Chaplain) on May 03, 2005 at 12:58 UTC | |
by perleager (Pilgrim) on May 04, 2005 at 02:19 UTC |