this will remove any comment in a c program. What's the role of /x (I believe it is for extended regulars expressions)??$program =~ s { /\* .*? \*/ } []gsx;
In reply to Re^2: question of substitution
by wannabeboy
in thread question of substitution
by wannabeboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |