lib/graybook/importer/hotmail.rb in graybook-1.0.23 vs lib/graybook/importer/hotmail.rb in graybook-1.0.24

- old
+ new

@@ -96,10 +96,10 @@ contacts end def parse_contacts(source) - source.scan(/ICc.*\:\[.*?,.*?,\['ct'\],'(.*?)',.*?,.*?,'(.*?)',.*\]/).collect do |name, email| + source.scan(/ICc.*\:\[.*?,.*?,\['se','ct'\],'(.*?)',.*?,.*?,'(.*?)',.*\]/).collect do |name, email| { :name => (name =~ /\\x26\\x2364\\x3b/ ? nil : name), :email => email.gsub(/\\x40/, '@') } end end ##