Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is There a better way? Or could someone give me some good regexps? My code is running in taint, and i understand this traps some nasties?if ($sup_fullname !~ /^[-.\w\s]{1,30}$/) { $message = $message.'<p>Full Name Error: 1-30 Chars, No Symbol +s.</p>'; $found_err = 1; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reasonable RegExps
by dws (Chancellor) on May 16, 2003 at 23:57 UTC | |
|
Re: Reasonable RegExps
by broquaint (Abbot) on May 16, 2003 at 23:58 UTC | |
by demerphq (Chancellor) on May 17, 2003 at 19:12 UTC | |
|
Re: Reasonable RegExps
by markjugg (Curate) on May 17, 2003 at 00:45 UTC | |
|
Re: Reasonable RegExps
by MrYoya (Monk) on May 17, 2003 at 00:48 UTC |