Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: gonboy on November 01, 2011, 05:51:12 pm
-
I using the regulare expression to catch the information by linking obj
I test my regulare expression by using the plugins ,Regulare Expression Utility tools. that's all right.
but,in fact. that couldn't catch the last infomation
question:
1 - the codeblocks using which languare regulare expression? where can find the introduce about it?
2 - could one peple help me to write the regulare expression .. eg
text:
main.c[LK002]Error: chouldn't fine the "ADC_Fill"
please check the ADC.C file
matches
0 = main.c
1 = [LK002]Error:
2 = chouldn't fine the "ADC_Fill"
3 = please check the ADC.C file
Please be careful between the "ADC_Fill" and "please check",that's a new line.
I hope ,that's can run in building regular expression,not in plugins,Regulare Expression Utility(I find that's not same)
tks
-
Code::Blocks' RegEx Testbed plugin (http://wiki.codeblocks.org/index.php?title=RegEx_Testbed_plugin) (as well as other features like searching and error parsing) use the wxWidgets implementation (regular expressions reference (http://docs.wxwidgets.org/trunk/overview_resyntax.html)).
If you want to see some examples, in Code::Blocks open Settings->Compiler and Debugger...->Other settings (tab)->Advanced options...->Output parsing (tab).