From 375e9684c00030d52b687ed9af041f511e1a104c Mon Sep 17 00:00:00 2001 From: Elara Musayelyan Date: Sat, 10 Dec 2022 20:16:10 -0800 Subject: [PATCH] Clarify which regex engine is used --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e4ed01a..81bfb20 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ This project is a simple bot that replies to comments on Lemmy. Every 10 seconds This repo contains a file called `lemmy-reply-bot.example.toml`. This is an example config file. Copy it to `lemmy-reply-bot.toml` and edit it to fit your needs. The config contains your password, so its permissions must be set to 600 or the bot will refuse to start. +This bot uses PCRE2 for regular expressions, so you can use any of PCRE2's features, and [Regex101](https://regex101.com/) in PCRE2 mode for testing. + If any regular expressions configured in the file also match the reply messages, the bot will refuse to start because this may cause an infinite loop. ### Debugging