Skip to content

Commit

Permalink
add whatsapp to messaging numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
normalhuman committed Jun 28, 2016
1 parent 12cc368 commit c2bc3ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ class FindSpam:
# Combination of keyword and email in questions and answers, for all sites
{'method': keyword_email, 'all': True, 'sites': [], 'reason': "bad keyword with email in {}", 'title': True, 'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': False, 'max_rep': 1, 'max_score': 0},
# QQ number, for all sites
{'regex': ur'(?i)(?<![a-z0-9])Q{1,2}(?:(?:[vw]|[^a-z0-9])\D{0,8})?\d{5}[./-]?\d{4,5}(?!["\d])|\bICQ[ :]{0,5}\d{9}\b', 'all': True, 'sites': [], 'reason': "messaging number in {}", 'title': True, 'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': False, 'answers': False, 'max_rep': 1, 'max_score': 0},
{'regex': ur'(?i)(?<![a-z0-9])Q{1,2}(?:(?:[vw]|[^a-z0-9])\D{0,8})?\d{5}[./-]?\d{4,5}(?!["\d])|\bICQ[ :]{0,5}\d{9}\b|\bWhatsApp[ :]{0,5}\d{10}\b', 'all': True, 'sites': [], 'reason': "messaging number in {}", 'title': True, 'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': False, 'answers': False, 'max_rep': 1, 'max_score': 0},
#
# Category: Trolling
# Offensive content in titles and posts
Expand Down

0 comments on commit c2bc3ab

Please sign in to comment.