regex for C comments

Kevin Lincoln Flynn flynn at anyguay.acm.rpi.edu
Wed Jul 12 12:30:28 AEST 1989


In article <502 at chem.ucsd.EDU> tps at 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 at anyguay.acm.rpi.edu, userfwvl at 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.



More information about the Comp.lang.c mailing list