Regular Expression does not match java error
Posted: Fri Apr 09, 2010 8:02 pm
I have used TextPad for many years, and being able to compile and double click on the error lines has always worked until this last version. I have struggled with this, tried many options, but every time I get the enemic error message "Can't jump to the item under the cursor".
I am using the following regular expression, from the TextPad help:
^\([A-Za-z]:[^:]+\):\([0-9]+\):
I do NOT have Posix regular expressions selected. The help file says this is not a POSIX expression (but I hav tried converting it to POSIX and using that option -- no change)
The line I am trying to match is:
d:\sandbox\ps\nugen\src\com\fujitsu\nugen\SectionWiki.java:469: cannot find symbol
I have 1->File, and 2->line number
As far as I can see, this should match. At the beginning of the line the drive letter d, then a colon, then everything up to the next colon is exactly the full file name and path. The second group starts after that colon, and selects digits up to the third colon. The expression should match this line, but it does not.
What am I doing wrong? How can I get a better error message, or better diagnostics about this?
I can't get anything to match. I tried simplified expressions, but unfortunately it has to match a file name and line number otherwise I can't tell if it matched or not.
Any ideas on why this does not work?
I am using the following regular expression, from the TextPad help:
^\([A-Za-z]:[^:]+\):\([0-9]+\):
I do NOT have Posix regular expressions selected. The help file says this is not a POSIX expression (but I hav tried converting it to POSIX and using that option -- no change)
The line I am trying to match is:
d:\sandbox\ps\nugen\src\com\fujitsu\nugen\SectionWiki.java:469: cannot find symbol
I have 1->File, and 2->line number
As far as I can see, this should match. At the beginning of the line the drive letter d, then a colon, then everything up to the next colon is exactly the full file name and path. The second group starts after that colon, and selects digits up to the third colon. The expression should match this line, but it does not.
What am I doing wrong? How can I get a better error message, or better diagnostics about this?
I can't get anything to match. I tried simplified expressions, but unfortunately it has to match a file name and line number otherwise I can't tell if it matched or not.
Any ideas on why this does not work?