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

Thanks all. I agree, a parser can do this. But I figured regex *may* be powerful enough to do it also. I'm pretty darn good at regex, but this one was beyond me.

I did look at c::scan, but it didn't run for me on windows based (activestate) perl and had about NIL documentation so I skipped that.

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