ensure we match on a numerical value for end of string