Author Topic: Output parsing regexps don't get filenames with embedded &qu  (Read 13597 times)

stevehartwell

  • Guest
Output parsing regexps don't get filenames with embedded &qu
« on: April 05, 2005, 04:35:22 am »
The regular expressions used to do output parsing don't match filenames with embedded hyphens correctly.  When I test a string using the very handy test feature, the string "my-file.cpp" results in "file.cpp" in the filename part.

I changed the most of the expressions to use [^:]+ in the filename part, and that seems to work.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Output parsing regexps don't get filenames with embedded
« Reply #1 on: April 05, 2005, 09:08:26 am »
Quote from: stevehartwell
I changed the most of the expressions to use [^:]+ in the filename part, and that seems to work.

That's the reason it's there: to edit it to your heart's contents ;)
Although, if an absolute filename is used under win32, you will get only the drive-letter with this regex...

Yiannis.
Be patient!
This bug will be fixed soon...