in reply to RE: Multi Line c comments
in thread Multi Line c comments

I am a little scared, considering that this is a FAQ, how many people are getting it wrong.

This has a very common failure mode that looks like this:

/***************************************** * Script Foo * * Written by "I like pretty comments" * * The purpose of this is... * * etc/and more... * ******************************************/
This fairly generic example (and common variations) will defeat most simplistic attempts at this problem. :-)

(See the FAQ for more.)

Replies are listed 'Best First'.
RE: RE (tilly) 2: Multi Line c comments
by kilinrax (Deacon) on Nov 16, 2000 at 00:05 UTC
    You are correct, my regexp was naive and wrong; and not remembering something in the faq is pretty inexcusable :-(