Fix primitive table lexical analysis.

Sequences of digits in the table of a primitive may be matched
as decimal numbers instead of digits, and this breaks some
primitives.