> Al> thanks to everyone who responded. it seems that Bob's
> Al>  /^\d+$/
>
> Al> works the best overall for this situation.
>
> Beware that this also matches "123\n".  A solution that rejects /\D/
> will be faster and more accurate and easier to type than a solution
> that accepts your regex.

OK... so you suggest = /\D/ by itself?

Al



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to