Using is_numeric instead of preg_match

The Ticket_1783 test is using PHP_INT_MAX + 1 to test this validator, which is passed as "9.2233720368548E+18" on some systems.  The preg_match that was in place would evaluate as false because of the E and + in the string.