Simplify ValidTTL to a grep regex

Embarrassingly, the grep already existed in the codebase and was
simpler than I thought. :-/

Renamed htime_pattern to ttl_pattern. Altered pattern so that ending
with a number is not ok.