- From: Gavin Nicol <gtn@ebt.com>
- Date: Wed, 29 Jan 1997 10:24:26 -0500
- To: U35395@UICVM.UIC.EDU
- CC: w3c-sgml-wg@www10.w3.org
Michael has the rule for comments: "<!--*"([-*]|("-"("*""-"?)*[-*])|(("*""-"?)+[-*]))*("*"|"-*")+"-->" using flex as a test lexer, I tried the following successfully. "<!--*"([^*]|("*"[^-])|("*-"[^-])|("*--"[^>]))*"*-->" I used the following as test data: <!--**--> <!--* I am a comment *--> <!--* * *- *-- *--> <!--* * -* --* --*> *--> <!--* -- This is a big ugly comment -- *-- This is a big ugly comment --* --* This is a big ugly comment *-- <--* This is a big ugly comment *---> <--* This is a big ugly comment *-> *-->
Received on Wednesday, 29 January 1997 10:26:19 UTC