#?SuikaWiki/0.9 import="メッセージ訳語集" *atom の構文 **RFC 2822 から ***3.2.4. Atom >Several productions in structured header field bodies are simply strings of certain basic characters. Such productions are called atoms. [1] 構造化__&&header&&____&&field&&____&&body&&__中の幾つかの要素は基本文字の単純な文字列です。 この要素は atom と呼びます。 >Some of the structured header field bodies also allow the period character (".", ASCII value 46) within runs of atext. An additional "dot-atom" token is defined for those purposes. [2] 構造化__&&header&&____&&field&&____&&body&&__の幾つかは [CODE(ABNF)[atext]] の連続中に句点文字 ([CODE(ABNF)["."]], [[ASCII]] 値 46) も認めています。追加の [CODE(ABNF)["dot-atom"]] 字句はこの目的で定義します。 [3] atext = ALPHA / DIGIT / ; Any character except controls, "!" / "#" / ; SP, and specials. "$" / "%" / ; Used for atoms "&" / "'" / [INS[; controls, SP, specials を除く文字]] "*" / "+" / [INS[; atom に使われる]] "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" / "~" -[4] atom = [CFWS] 1*atext [CFWS] -[5] dot-atom = [CFWS] dot-atom-text [CFWS] -[6] dot-atom-text = 1*atext *("." 1*atext) >Both atom and dot-atom are interpreted as a single unit, comprised of the string of characters that make it up. Semantically, the optional comments and FWS surrounding the rest of the characters are not part of the atom; the atom is only the run of atext characters in an atom, or the atext and "." characters in a dot-atom. [7] [CODE(ABNF)[atom]] 及び [CODE(ABNF)[dot-atom]] 共に、これを構成する文字の列で構成される単一の単位として解釈されます。 意味的には、他の文字を囲んでいる省略可能な [CODE(ABNF)[comment]] 及び [CODE(ABNF)[FWS]] は [CODE(ABNF)[atom]] の一部ではありません。 atom は [CODE(ABNF)[atom]] においては [CODE(ABMF)[atext]], [CODE(ABNF)[dot-atom]] においては [CODE(ABNF)[atext]] 及び [CODE(ABNF)["."]] 文字の部分のみです。 ***メモ [[#comment]] *メモ