Skip to content

Commit

Permalink
Use \S
Browse files Browse the repository at this point in the history
  • Loading branch information
angussidney committed Jan 20, 2018
1 parent 82efea9 commit 0d7ba12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions findspam.py
Expand Up @@ -1096,8 +1096,8 @@ 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>[a-z0-9_]+</p>\s*$", 'all': True, 'sites': ["codegolf.stackexchange.com",
"puzzling.stackexchange.com"],
{'regex': r"(?i)^<p>\S+</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},
# Numbers-only title
Expand Down

0 comments on commit 0d7ba12

Please sign in to comment.