>Finally, it should be pointed out that although the deterministic >regular expression for comments is complicated, the comment structure >itself is very simple and easy to describe: > > Comments begin with '<!--*' and end with '*-->'. > Within a comment, anything is legal except '--'. Very simple rule: "<!--*"([^-]|("-"[^-]))*"*-->" > >After the TC, these rules can change (and will, unless the ERB rescinds >its decision of earlier this month) to: > > Comments begin with '<!--*' and end with '*-->'. > Within a comment, anything is legal except '*--'. You and I came up with exactly the same thing: "<!--*"([^*]|("*"[^-])|("*-"[^-]))*"*-->"Received on Wednesday, 29 January 1997 12:55:52 EST
This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 10:03:56 EDT