Sha256: 2c844601879e836ad604ece324e3cd8ac43b0d73a45ea99acfd49743e65603b6

Contents?: true

Size: 356 Bytes

Versions: 57

Compression:

Stored size: 356 Bytes

Contents

module Pickle
  module Email
    # add ability to parse emails
    module Parser
      def match_email
        "(?:#{match_prefix}?(?:#{match_index} )?email)"
      end

      def capture_email
        "(#{match_email})"
      end
      
      def capture_index_in_email
        "(?:#{match_prefix}?(?:#{capture_index} )?email)"
      end
    end
  end
end

Version data entries

57 entries across 57 versions & 6 rubygems

Version Path
pickle-0.4.3 lib/pickle/email/parser.rb
pickle-has_many_support-0.4.2 lib/pickle/email/parser.rb
pickle-0.4.2 lib/pickle/email/parser.rb
pickle-0.4.1 lib/pickle/email/parser.rb
pickle-0.4.0 lib/pickle/email/parser.rb
pickle-0.3.5 lib/pickle/email/parser.rb
pickle-0.3.4 lib/pickle/email/parser.rb
pickle-0.3.3 lib/pickle/email/parser.rb
pickle-0.3.2 lib/pickle/email/parser.rb
pickle-0.3.1 lib/pickle/email/parser.rb
pickle-has_many_support-0.3.1 lib/pickle/email/parser.rb
pickle-0.3.0 lib/pickle/email/parser.rb
pickle-0.2.12 lib/pickle/email/parser.rb
pickle-0.2.11 lib/pickle/email/parser.rb
pickle-0.2.10 lib/pickle/email/parser.rb
pickle-0.2.9 lib/pickle/email/parser.rb
pickle-0.2.8 lib/pickle/email/parser.rb
pickle-0.2.7 lib/pickle/email/parser.rb
pickle-0.2.6 lib/pickle/email/parser.rb
pickle-0.2.5 lib/pickle/email/parser.rb