Sha256: 79889c3fea7d65f476326a5137eb492e9debb384e3d968cbc9b2516da6d70a22

Contents?: true

Size: 755 Bytes

Versions: 217

Compression:

Stored size: 755 Bytes

Contents

module Mail
  grammar RFC2045

    rule tspecials
      "(" / ")" / "<" / ">" / "@" /
      "," / ";" / ":" / '\\' / "<" / ">" /
      "/" / "[" / "]" / "?" / "="
    end
    
    rule ietf_token
      "7bit" / "8bit" / "binary" /
      "quoted-printable" / "base64"
    end
    
    rule custom_x_token
      [xX] "-" token+
    end

    rule iana_token
      token+
#     <A publicly-defined extension token. Tokens
#     of this form must be registered with IANA
#     as specified in RFC 2048.>
    end
    
    rule token
      [\x21-\x27] /       # any (US-ASCII) CHAR 
      [\x2a-\x2b] /       # except SPACE, 
      [\x2c-\x2e] /       # CTLs,
      [\x30-\x39] /       # or tspecials
      [\x41-\x5a] /
      [\x5e-\x7e]
    end
    
  end
end

Version data entries

217 entries across 175 versions & 16 rubygems

Version Path
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/parsers/rfc2045.treetop
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/parsers/rfc2045.treetop
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/mail-2.5.3/lib/mail/parsers/rfc2045.treetop
depengine-0.0.10 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.10 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.9 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.9 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
depengine-0.0.8 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.8 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.7 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.7 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.5 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.5 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.4 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.4 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.3 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.3 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.2 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.2 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop