Permalink
Browse files

no replace white space

  • Loading branch information...
1 parent 1075ad6 commit 35a5e274e550b3e5d41965441ea7c56b551cb38c @Druwerd committed Mar 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gmail-script.rb
View
@@ -20,7 +20,7 @@
next if message.body.nil?
puts message
sms_text = message.body.to_s.gsub("\n", " ")
- sms_text = sms_text.gsub(/[^\w!\.,\?\-:\(\)]/, "?")
+ sms_text = sms_text.gsub(/[^\w\s!\.,\?\-:\(\)]/, "?")
sms_text = sms_text.gsub(/Sent using SMS-to-email.*/, "")
puts sms_text
begin

0 comments on commit 35a5e27

Please sign in to comment.