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 971234a commit de43aabCopy full SHA for de43aab
app/lib/spaminator.rb
@@ -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
-
3
class Spaminator
4
def bad_links?(text, urls)
5
text.scan(/shurll.com|shorl.com/i).size > 1
0 commit comments