regexTime modified to match more accurately