Question on sgml lex file

I'm trying to run the sgml-lex input (sgml.l) through lex and
get an error.

Both flex and Mortice Kern System's lex seem to choke on 


 /* abcd -- data characters */
([^<&]|(<[^<&a-zA-Z!->?])|(&[^<&#a-zA-Z]))+|.	{
                                  TOK(tokF, tokObj, SGML_DATA, yytext,
yyleng);
				}


The error I get is "Syntax error near `<'

Is there possibly something wrong with this regular expression, or am
I missing something?

Thanks for any thoughts you may have on this.

Thane Plambeck
thane@kothreat.com

Received on Saturday, 1 February 1997 01:27:36 UTC