Bug #17730 2010-11-22 17:20
eagleoneraptor
Output parsing regular expression
Regular expressions to parse the output of the compiler in Code::Blocks does not consider the fact that people use special characters in directories and/or files.
This cause that if my project is saved in: "/home/me/Programación/Proyecto/" (note de ó character), and I have a compiler error in main.c, line 20. With the current regular expression I got the following result:
Filename: n/Proyecto/main.c
Line number: 20
Message: Whatever
The regular expression that parse the compiler error is the following:
([][{}() \t#%$~A-Za-z0-9_:+/\.-]+):([0-9]+):[ \t](.*)
Note that the ó, á, etc characters are not considered.
I change it to:
(.+):([0-9]+):[ \t](.*)
And works fine
Is it possible to change the regular expression to consider this characters, can my regular expression works?
Thanks for Code::Blocks!
Regards!
- Category
- Compiler
- Group
- Status
- Open
- Close date
- Assigned to