<http://forum.pspad.com/read.php?f=2&i=12464&t=12209> ----------------------------------------------------------------
pspad wrote: > I must find some solution first. Do you have any idea how to > know filename woth spaces from rest of the log line ? How about find %L first? Take C++ log parser setting for instance, it is * * %F %L: If the error message is Error E12345 C:\This\is\file\name.cpp 53: xxxxx, you can parse from left and find the _%L:_ is _53:_. Then you can get the left side message of the %L:, that is _Error E12345 C:\This\is\file\name.cpp_. And the parser is _* * %F_, you don't know where the %F part begins, but you know there are _*_ and _*_ at the beginning. So, you can ignore the _Error E12345_ part, and know the %F part is _C:\This\is\file\name.cpp_. Why finding %L first? Because I think there must be one %L or %C. (Users always need the parser to get the error line number, right?) And for all of the parameters, only the %F is uncertain. So, we can try to find out all other certain parameters, and the last must be %F. How do you think? -- PSPad freeware editor http://www.pspad.com
