Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site uwvax.ARPA Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!uwvax!anderson From: anderson@uwvax.ARPA Newsgroups: net.unix-wizards Subject: a lex question Message-ID: <236@uwvax.ARPA> Date: Wed, 2-May-84 00:48:40 EDT Article-I.D.: uwvax.236 Posted: Wed May 2 00:48:40 1984 Date-Received: Thu, 3-May-84 19:45:48 EDT Organization: U of Wisconsin CS Dept Lines: 9 ---- The following "lex" expression is supposed to accept /* ... */ style comments. It doesn't quite work... it recognizes the comment, but then the closing / seems to be processed again (resulting in a syntax error). "/*"([^*]|("*"/[^/]))*"*/" Maybe I'm overlooking something obvious. If you can figure out what it is, please reply by mail. Thanks -- David Anderson (uwvax!anderson)