The following regular expression used in fortan language to match numerical constant
<[0-9]+(\.[0-9]*)?([DEde][-+]?[0-9]*)?|\.[0-9]+([DEde][-+]?[0-9]*)?>
works fine in most cases. However, for a line like
format (1X,F10.3)
it highlights the "3" unexpectedly.
Can anybody tell how to modify to make it work better?
Thanks,
John