2apart wrote:
>
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)

This question is both irrelevant to the Perl language and very lazy.
RFC2822 is a specification for Internet text messages, and itself
states:

1.2.2. Syntactic notation

   This standard uses the Augmented Backus-Naur Form (ABNF) notation
   specified in [RFC2234] for the formal definitions of the syntax of
   messages.

Rob

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to