How to read an rfc spec
- From: drubnone@xxxxxxxxx (2apart)
- Date: Sun, 27 Jan 2008 10:41:28 -0800 (PST)
Here's a little section from rfc 2822. I know what the nemonics stand
for, but
I'm not sure how to read the spec, * [] () / what do they mean.
If you have a handle on this could you translate the CFWS spec. It
seems
to contain all the code except the quote "
Thanks.
FWS = ([*WSP CRLF] 1*WSP) / ; Folding white space
obs-FWS
ctext = NO-WS-CTL / ; Non white space controls
%d33-39 / ; The rest of the US-ASCII
%d42-91 / ; characters not including
"(",
%d93-126 ; ")", or "\"
ccontent = ctext / quoted-pair / comment
comment = "(" *([FWS] ccontent) [FWS] ")"
CFWS = *([FWS] comment) (([FWS] comment) / FWS)
.
- Follow-Ups:
- Re: How to read an rfc spec
- From: Dr.Ruud
- Re: How to read an rfc spec
- From: Rob Dixon
- Re: How to read an rfc spec
- From: Gunnar Hjalmarsson
- Re: How to read an rfc spec
- Prev by Date: Re: Perl script to lookup IP addresses
- Next by Date: Re: How to read an rfc spec
- Previous by thread: Looking for regex
- Next by thread: Re: How to read an rfc spec
- Index(es):