Fixed regex

Old regex used a union of for cases of 1.0 and 1.0E-01 but it did not
work as intended: only the shortest one was matched...
Replaced it by only one regex with a non-capturing group.