compiler error parsing in kdevelop

Alexander Neundorf neundorf at kde.org
Mon May 21 02:36:46 UTC 2007


Hi,

it seems I found the problem, the regexp for getting the filename from the 
compiler error message is the following:

ErrorFormat( "([^: \t]+):([0-9]+):([^0-9]+)", 1, 2, 3 ),

where the filename is "([^: \t]+)"
Now if the filename has spaces (which may very well be) this doesn't work 
correctly. I could simply remove the " " from the regexp. This will fix it 
for me. Are there error messages where this might break the parsing ?

Alex




More information about the KDevelop-devel mailing list