Skip to content

Commit

Permalink
Custom user name watch ^v\w{3,5}\Wkumar$ for SFF
Browse files Browse the repository at this point in the history
  • Loading branch information
tripleee committed Mar 8, 2019
1 parent 5155978 commit 6cfb4aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions findspam.py
Original file line number Diff line number Diff line change
Expand Up @@ -1860,6 +1860,9 @@ def religion_troll(s, site):
create_rule("bad keyword in {}",
r'(?i)[\w\s]{0,20}help(?: a)?(?: weak)? postgraduate student(?: to)? write(?: a)? book\??',
body=False, max_rep=20, max_score=2)
# Requested by Mithrandir 2019-03-08
create_rule("potentially bad keyword in {}", r'^v\w{3,5}\Wkumar$',
title=False, body=False, username=True, sites=['scifi.stackexchange.com'])
# Eltima: Nested lookarounds for length limit
create_rule("bad keyword in {}", r"(?is)(?<=^(?=.{,750}$).*)\beltima",
title=False, max_rep=50)
Expand Down

0 comments on commit 6cfb4aa

Please sign in to comment.