Home Download Buy Blog Forum Support

file_regex for MSVC 2008

file_regex for MSVC 2008

Postby Echo on Thu Feb 14, 2013 4:26 am


Been trying to figure out the file_regex stuff for building, but I can't seem to get it to accept it.
Might be impossible with these types of error messages, but I'll post one anyway for example.

Error code generated by nmake.exe MSVC 2008 for a C++ project:
Code: Select all
C:\Users\ASDF\main.cpp(13) : error C2144: syntax error : 'int' should be preceded by ';'

So it should be the following:
File: main.cpp
Line: 13

Anyone mind lending a hand?

Posts: 4
Joined: Wed Feb 06, 2013 2:49 am

Re: file_regex for MSVC 2008

Postby Echo on Fri Feb 15, 2013 4:24 am

Sorry for bumping, but I didn't feel a new topic was necessary.

I asked a buddy and he provided the following Perl-compatible regex for error string in the previous post.

Code: Select all

... which I converted (double escaped) into:


so that the editor could parse it.

It's still not working and I'm trying to figure out why.
These following links verify that the regex is working as it should, grouping the file name and line number in their respective groups.


Yet I'm still not getting results could this be an editor problem?
Posts: 4
Joined: Wed Feb 06, 2013 2:49 am

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 22 guests