Changes between Version 104 and Version 105 of SpamFilter
- Timestamp:
- Oct 21, 2014, 10:54:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SpamFilter
v104 v105 36 36 === Regular Expressions === 37 37 38 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/regex.py regex] filter reads a list of regular expressions from a wiki page named “BadContent”, each regular expression being on a separate line inside the first code block on the page, using the [http ://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions.38 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/regex.py regex] filter reads a list of regular expressions from a wiki page named “BadContent”, each regular expression being on a separate line inside the first code block on the page, using the [https://docs.python.org/2/library/re.html Python syntax] for regular expressions. 39 39 40 40 If any of those regular expressions matches the submitted content, the submission will be rejected. … … 42 42 === Regular Expressions for IP === 43 43 44 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/ip_regex.py ip_regex] filter reads a list of regular expressions from a wiki page named “BadIP”, each regular expression being on a separate line inside the first code block on the page, using the [http ://docs.python.org/lib/re-syntax.html Python syntax] for regular expressions.44 The [source:plugins/1.0/spam-filter/tracspamfilter/filters/ip_regex.py ip_regex] filter reads a list of regular expressions from a wiki page named “BadIP”, each regular expression being on a separate line inside the first code block on the page, using the [https://docs.python.org/2/library/re.html Python syntax] for regular expressions. 45 45 46 46 If any of those regular expressions matches the submitters IP, the submission will be rejected.