Carl - sorry, you'll need to adjust your script. Automake and other packages have used letters for pretests for decades, and it's not plausible to change now.
Also, I have the impression that other packages use random git hexids in their pretest releases, which aren't numeric either. -k