Skip to content

Commit

Permalink
Update findspam.py
Browse files Browse the repository at this point in the history
My bad. I used the wrong RegEx.
  • Loading branch information
iBug committed Jan 22, 2018
1 parent 0b9a2d4 commit a0586c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Expand Up @@ -1096,7 +1096,7 @@ class FindSpam:
'stripcodeblocks': True, 'body_summary': False,
'max_rep': 101, 'max_score': 5},
# No whitespace, punctuation, or formatting in a post
{'regex': r"(?i)^<p>\W+</p>\s*$", 'all': True, 'sites': ["codegolf.stackexchange.com",
{'regex': r"(?i)^<p>\w+</p>\s*$", 'all': True, 'sites': ["codegolf.stackexchange.com",
"puzzling.stackexchange.com"],
'reason': "no whitespace in {}", 'title': False, 'body': True, 'username': False, 'stripcodeblocks': False,
'body_summary': False, 'max_rep': 1, 'max_score': 0},
Expand Down

0 comments on commit a0586c1

Please sign in to comment.