"Raghupathy" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Rob and David,
>
> Thanks very much! That's exactly what I am looking
> for and sorry for the misleading subject on the email.
>
>
> Rob: Could you please explain why you need 2 questions
> marks on line#7 instead of just
Rob and David,
Thanks very much! That's exactly what I am looking
for and sorry for the misleading subject on the email.
Rob: Could you please explain why you need 2 questions
marks on line#7 instead of just one minimal quantifier
needed (I hope I am using the right words this time
!!!).
Tha
Raghupathy wrote:
> Rob,
>
>The input file you described is not correct, since
> it has
> #ifdef def2
> statement3;
> #else
> statement4;
> #endif
> nested within another #ifdef ... #else ... #endif.
>
> My input file is the output of
> "diff -D def file1 file2" (on unix). This will
> gen
Rob,
The input file you described is not correct, since
it has
#ifdef def2
statement3;
#else
statement4;
#endif
nested within another #ifdef ... #else ... #endif.
My input file is the output of
"diff -D def file1 file2" (on unix). This will
generate a file which has the following pattern
Raghupathy wrote:
> Hi All,
>
> I have a text file as shown below. How do I match
> patterns like the following:
>
> Pattern to be matched:
> =
> #ifndef def
> .. (anything except #if)
> #else def
> ... (anything except #if)
> #endif def
>
>
> My Input Data:
> =
Hi All,
I have a text file as shown below. How do I match
patterns like the following:
Pattern to be matched:
=
#ifndef def
.. (anything except #if)
#else def
... (anything except #if)
#endif def
My Input Data:
==