HEX
Server: Apache
System: Linux iad1-shared-e1-13 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User: dh_x7ke6i (5503775)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //lib/ruby/vendor_ruby/mail/parsers/rfc2045_mime.rl
%%{
  # RFC 2045 MIME
  # https://tools.ietf.org/html/rfc2045
  machine rfc2045_mime;
  alphtype int;

  include rfc5322_lexical_tokens "rfc5322_lexical_tokens.rl";

  # 4. MIME-Version Header Field
  # https://tools.ietf.org/html/rfc2045#section-4
  mime_version = CFWS?
            (DIGIT+ >major_digits_s %major_digits_e)
            comment? "." comment?
            (DIGIT+ >minor_digits_s %minor_digits_e)
            CFWS?;
}%%