Skip to content

Commit de43aab

Browse files
committed
remove useless line
1 parent 971234a commit de43aab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/lib/spaminator.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
URLS = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/ix
2-
31
class Spaminator
42
def bad_links?(text, urls)
53
text.scan(/shurll.com|shorl.com/i).size > 1

0 commit comments

Comments
 (0)