Fixes segfaults if input is alphanumeric with a digit being the first character,
e.g 00FF00. libmatheval is omitted.