From fcb8adbb30331d1696a417e60083b6aba33b502b Mon Sep 17 00:00:00 2001 From: mat <26722564+matcool@users.noreply.github.com> Date: Sun, 9 Jun 2024 23:41:47 -0300 Subject: [PATCH] document filter key on settings --- mods/settings.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mods/settings.md b/mods/settings.md index b53ff19..6a81343 100644 --- a/mods/settings.md +++ b/mods/settings.md @@ -100,7 +100,8 @@ In code, the value type is `double`. ### `string` -A piece of text. Value may be constrained with the `match` key that specifies a regex that the string is matched against. +A piece of text. Value may be constrained with the `match` key that specifies a regex that the string is matched against. \ +The allowed characters can be set via the `filter` key, for example, `012345679,.` would only allow numbers and punctuation. In code, the value type is `std::string`.