We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca53d3e commit 12937e5Copy full SHA for 12937e5
app/lib/spaminator.rb
@@ -8,11 +8,11 @@ def recognized_format?(text)
8
end
9
10
def customer_support?(text)
11
- text.scan(/customer|support|phonenumber|phonesupport|toll|/i).size > 10
+ text.scan(/customer|support|phonenumber|phonesupport|toll/i).size > 10
12
13
14
def marketing?(text)
15
- text.scan(/herb|medical|marijuana|cannabis|/i).size > 10
+ text.scan(/herb|medical|marijuana|cannabis/i).size > 10
16
17
18
def download_links?(text, urls, title)
0 commit comments