in reply to Re: need regex help to strip things like embedded C comments
in thread need regex help to strip things like embedded C comments

Slight correction. It's actually in perlfaq6

perlfaq6, How do I use a regular expression to strip C style comments from a file?

- Miller
  • Comment on Re^2: need regex help to strip things like embedded C comments

Replies are listed 'Best First'.
Re^3: need regex help to strip things like embedded C comments
by ikegami (Patriarch) on Jul 22, 2007 at 04:15 UTC
    The OP's comments are not C-style comments. C doesn't support nesting of comments, and neither does the code at the link you provided.