> -----Original Message-----
> From: J.Pietschmann [mailto:[EMAIL PROTECTED]]
> Sent: October 6, 2002 1:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: <character>
> 
> 
> Arved Sandstrom wrote:
> > An Expr can be a Literal, the production for which is
> > 
> > '"' [^"]* '"'
> > | "'" [^']* "'"
> > 
> > If I look at the first alternative,
> > 
> > '"' [^"]* '"'
> > 
> > it seems to me that I have pretty considerable leeway, and "-" 
> isn't ruled
> > out at all.
> 
> Erm, the expression is supposed to be inside the XML attribute quotes,
> for example hyphenation-char="'-'" would be ok (literal, second
> production), but hyphenation-char="-" does not match the literal
> production, nor any other (except "operator"). Unless I missed
> something, of course.

And unless _I_ am missing something, "-" precisely matches that production.

You are looking at

"'" [^']* "'"

but I am looking at

'"' [^"]* '"'

According to the latter I can absolutely do "-".

Arved


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to