We must not rely on `isdigit()` to detect digits, since we only support decimal ASCII digits in the following processing.