Posted By

Catfish on 07/05/06


Tagged

mail ruby


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

alvaroisorna
ringo
webstic


Re-formatting mail messages


 / Published in: Ruby
 

  1. .gsub(/\n>/, "\n").gsub(/\n([^\n])/, '\1').gsub(/\n\n/, "\n")

Report this snippet  

You need to login to post a comment.