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
classiccms-0.7.5 vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
classiccms-0.7.4 vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
classiccms-0.7.3 vendor/bundle/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/mail-2.4.4/lib/mail/parsers/rfc2045.treetop
depengine-0.0.31 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.31 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.30 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.30 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.29 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.29 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.28 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.28 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.27 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.27 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.26 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.26 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.25 etc/isolate/jruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.25 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop
depengine-0.0.24 etc/isolate/ruby-1.8/gems/mail-2.2.5/lib/mail/parsers/rfc2045.treetop