veerubiji has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to extract xml comments from my c code. Actvally i added some xml comments to my c code. Now I need to extract xml comments as it is by using perl.
. c code .... .......... /*xml comments*/ ......... .........ccode </code>I need to extract only xml comments he above code not entire c code.As show in the above code i just posted small c code before and after xml comments, more number of c code lines is there in my code like same as above c code.but can any one help me how to extract xml comments as it is as shown in the above.I tried to extract xml comments using perl regexp but i am unable to extract xml comments. can any one help me. thanks in advance. sorry for deleting code.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extract comments from source code.
by Marshall (Canon) on Sep 26, 2011 at 12:34 UTC | |
by veerubiji (Sexton) on Sep 26, 2011 at 15:53 UTC | |
by veerubiji (Sexton) on Oct 03, 2011 at 14:05 UTC | |
|
Re: extract comments from source code.
by Anonymous Monk on Sep 26, 2011 at 12:12 UTC | |
by planetscape (Chancellor) on Sep 26, 2011 at 17:04 UTC |