may I ask the experts for help on following RegEx problem:
I want to search something in a C++ file, but all comment
lines should be ignored while searching.
Code: Select all
//Test.c
/* Test progam */
void main(void)
{
int iTest;
... The starting chars // or /* of the comment may start at pos. 1,2
but it's also possible that they are preceded by spaces and/or
tabs.
Any idea, how to achive this?
Thanks for any hint!
Regards
Juergen