RegEx for Lahey Fortran
Posted: Fri Apr 21, 2006 3:52 pm
I am new to regular expressions, however, I managed to figured out one for Lahey fortran yesterday, but for some reason it got deleted overnight, and now I can't recall it.
Error codes look like this:
Compiling program unit test01 at line 1:
2018-S: "test.for", line 7: When IMPLICIT NONE is specified, x must be declared in a type declaration statement.
Encountered 1 error, 0 warnings in file test.for.
This does not work:
^.+"\([:alpha:]+\)".+\([:digit:]+\)
File=1
Line=2
What am I doing wrong?
Error codes look like this:
Compiling program unit test01 at line 1:
2018-S: "test.for", line 7: When IMPLICIT NONE is specified, x must be declared in a type declaration statement.
Encountered 1 error, 0 warnings in file test.for.
This does not work:
^.+"\([:alpha:]+\)".+\([:digit:]+\)
File=1
Line=2
What am I doing wrong?