ietf-822
[Top] [All Lists]

Re: quoted strings within quoted strings

2002-03-05 05:12:31

In <a05100305b8a94361d6de(_at_)[216(_dot_)43(_dot_)25(_dot_)67]> Pete Resnick 
<presnick(_at_)qualcomm(_dot_)com> writes:


On 3/4/02 at 11:39 AM +0000, Charles Lindsey wrote:

token = [CFWS] 1*<any (US-ASCII) CHAR except SP, CTLs or tspecials> [CFWS]

Or if you like:

ttext = ALPHA / DIGIT / "!" / "#" /
       "$" / "%" / "&" / "'" / "*" / "+" /
       "-" / "^" / "_" / "`" / "{" / "|" / "}" / "~"

Yes, but I was trying to stick to the style of RFC 2045 as closely as
possible.

Foo-header = "Foo" ":" <Foo specific stuff> [CFWS] *(";" parameter) [CFWS]

The trailing [CFWS] in Foo-header is unnecessary. The parameter ends 
with value, which can either be a token or a quoted-string, each of 
which ends with [CFWS].

Yup, and probably the other one as well if <Foo specific stuff> is written
sensibly.

-- 
Charles H. Lindsey ---------At Home, doing my own thing------------------------
Tel: +44 161 436 6131 Fax: +44 161 436 6133   Web: http://www.cs.man.ac.uk/~chl
Email: chl(_at_)clw(_dot_)cs(_dot_)man(_dot_)ac(_dot_)uk      Snail: 5 
Clerewood Ave, CHEADLE, SK8 3JU, U.K.
PGP: 2C15F1A9      Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5

<Prev in Thread] Current Thread [Next in Thread>