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.5.0 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.10 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.11 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.12 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.13 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.14 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.15 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.6 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.8 lib/pickle/email/parser.rb
ianwhite-pickle-0.1.9 lib/pickle/email/parser.rb
mrflip-pickle-0.1.13 lib/pickle/email/parser.rb
pickle-0.4.11 lib/pickle/email/parser.rb
pickle-0.4.10 lib/pickle/email/parser.rb
pickle-0.4.9 lib/pickle/email/parser.rb
pickle-0.4.8 lib/pickle/email/parser.rb
pickle-0.4.7 lib/pickle/email/parser.rb
pickle-0.4.6 lib/pickle/email/parser.rb
pickle-0.4.5 lib/pickle/email/parser.rb
pickle-0.4.4 lib/pickle/email/parser.rb
judit-pickle-0.4.2 lib/pickle/email/parser.rb