From 1f6e40eebe32cb35a378eae997f16e22f32815d2 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 29 Oct 2015 16:07:45 -0400 Subject: [PATCH] FIX: typo --- lib/email_cook.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/email_cook.rb b/lib/email_cook.rb index 494c91fb0..48aea3445 100644 --- a/lib/email_cook.rb +++ b/lib/email_cook.rb @@ -26,7 +26,7 @@ class EmailCook in_quote = false else - l.scan(regexp).each do |m| + l.scan(EmailCook.url_regexp).each do |m| url = m[0] l.gsub!(url, "#{url}") end