Fixing regex for identifying real numbers. Before, we always were expecting a '.'. Notice that if 'real's have higher priority than 'integer's, we will have problems. So, switching the two in the file did the trick.
Old regex approach:
[0-9].[0-9]+ exp?
[0-9]+.[0-9] exp?
New approach:
[0-9]+ exp?
[0-9]+.[0-9] exp?
.[0-9] exp?
Fixing regex for identifying real numbers. Before, we always were expecting a '.'. Notice that if 'real's have higher priority than 'integer's, we will have problems. So, switching the two in the file did the trick.
Old regex approach: [0-9].[0-9]+ exp? [0-9]+.[0-9] exp? New approach: [0-9]+ exp? [0-9]+.[0-9] exp? .[0-9] exp?