in reply to Check user input - reimplementation
Your numeric check is pretty weak. I think it should at least allow for a leading '-'. For some ideas for numeric regex checks see perlman: perlfaq4 or do perldoc -q 'is a number' from your command line.
YuckFoo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Check user input - reimplementation
by kiat (Vicar) on Dec 15, 2003 at 23:28 UTC |