Author Topic: about regular expression  (Read 5612 times)

Offline gonboy

  • Multiple posting newcomer
  • *
  • Posts: 29
about regular expression
« 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
  
« Last Edit: November 01, 2011, 05:56:02 pm by gonboy »

Offline Alpha

  • Developer
  • Lives here!
  • *****
  • Posts: 1513
Re: about regular expression
« Reply #1 on: November 01, 2011, 10:19:50 pm »
Code::Blocks' RegEx Testbed plugin (as well as other features like searching and error parsing) use the wxWidgets implementation (regular expressions reference).

If you want to see some examples, in Code::Blocks open Settings->Compiler and Debugger...->Other settings (tab)->Advanced options...->Output parsing (tab).