#10 fixed a bug in the NUM and REAL regex