Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!csd4.milw.wisc.edu!leah!rpi!anyguay!flynn From: flynn@anyguay.acm.rpi.edu (Kevin Lincoln Flynn) Newsgroups: comp.lang.c Subject: Re: regex for C comments Message-ID: <5939@rpi.edu> Date: 12 Jul 89 02:30:28 GMT References: <19365@paris.ics.uci.edu> <502@chem.ucsd.EDU> Sender: usenet@rpi.edu Reply-To: flynn@anyguay.acm.rpi.edu (Kevin Lincoln Flynn) Distribution: na Organization: South American Super Beings Lines: 15 In article <502@chem.ucsd.EDU> tps@chem.ucsd.edu (Tom Stockfisch) writes: >This expression fails on each of the following: > > /*****//hello world */ > Please correct me if I'm wrong, but I don't believe this is a legal C comment. /*****/ should be a complete comment... /hello world */ is not part of it. - Flynn Kevin Lincoln Flynn flynn@anyguay.acm.rpi.edu, userfwvl@mts.rpi.edu 2151 12th Street H (518) 273-6914 W (518) 447-8561 Troy, NY 12180 ...Argue for your limitations, and sure enough they're yours.