snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 0af0c28633f5c1788965861928edb8acd9f62ed2
parent 349d6603e4cd4a8baff1db718afa83413b0dae5f
Author: Menelmacar <menelmacar@mailbox.org>
Date:   Mon, 17 Feb 2025 08:33:12 +0000

doc/snac8: elaborate regex blocking

It seems regex blocking only works with lower case letters, since the case will be ignored anyway this is fine. This updates the documentation to express this.

Diffstat:
Mdoc/snac.8 | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/snac.8 b/doc/snac.8 @@ -329,8 +329,9 @@ These weapons of mass destruction can be written into the file in the server base directory, one per line; if this file exists, all posts' content will be matched (after being stripped of HTML tags) against these regexes, one by one, and any match will make the post to -be rejected. If you don't know about regular expressions, don't use this -option (or learn about them in some tutorial, there are gazillions of +be rejected. Use lower case, the regex will be case insensitive by default. +If you don't know about regular expressions, don't use this +option (or learn about them inw some tutorial, there are gazillions of them out there), as you and your users may start missing posts. Also, given that every regular expression implementation supports a different set of features, consider reading the documentation about the one