use more portable character checks
use more portable character checks

Checks like (x >= '0' && x <= '9') are highly dependent on the charset
used by the operating system. Fortunately C has some functions that do
the checks independently of the charset so we can achieve more
portability through it.

kokke/tiny-regex-c,kokke/tiny-regex-c