please help with my regular expression

John Ferrier john_j_ferrier at yahoo.com
Fri Feb 20 18:15:35 CET 2009


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


      


More information about the Discuss mailing list