From 34dcf02deebe9d57a328389dd0b000defdcba697 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Wed, 28 Jul 2021 11:28:49 +0200 Subject: [PATCH] fix typos in tokenizer docs --- docs/admin/Tokenizers.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/admin/Tokenizers.md b/docs/admin/Tokenizers.md index 782d50b8..f3454f67 100644 --- a/docs/admin/Tokenizers.md +++ b/docs/admin/Tokenizers.md @@ -171,7 +171,7 @@ It is also possible to restrict replacements to the beginning and end of a name: ``` yaml -- ^south => n # matches only at the beginning of the name +- ^south => s # matches only at the beginning of the name - road$ => rd # matches only at the end of the name ``` @@ -192,8 +192,8 @@ a shortcut notation for it: The simple arrow causes an additional variant to be added. Note that decomposition has an effect here on the source as well. So a rule -```yaml -- ~strasse => str +``` yaml +- "~strasse -> str" ``` means that for a word like `hauptstrasse` four variants are created: -- 2.43.2