Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.unix-wizards Subject: Re: Comment recognition in Lex, again Message-ID: <6879@umcp-cs.UUCP> Date: Thu, 3-May-84 23:59:25 EDT Article-I.D.: umcp-cs.6879 Posted: Thu May 3 23:59:25 1984 Date-Received: Sat, 5-May-84 01:15:49 EDT References: <245@uwvax.ARPA> Organization: Univ. of Maryland, Computer Science Dept. Lines: 10 A Lex expression that matches C comments: comment "/*"(\*[^/]|[^*]*)*"*/" (The * after the first ] shouldn't be necessary, I think, but you did specify that the expression come from working code...) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci (301) 454-7690 UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland