http://qs321.pair.com?node_id=615093


in reply to Re: Check for Positive Integer entry only
in thread Check for Positive Integer entry only

That also passes for "123\n" which could be good or bad. Use \z instead of $ if you don't want to allow a trailing \n.