fix typos in tokenizer docs

This commit is contained in:
Sarah Hoffmann
2021-07-28 11:28:49 +02:00
parent 5d7d7f15d9
commit 34dcf02dee

View File

@@ -171,7 +171,7 @@ It is also possible to restrict replacements to the beginning and end of a
name: name:
``` yaml ``` 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 - 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 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 decomposition has an effect here on the source as well. So a rule
```yaml ``` yaml
- ~strasse => str - "~strasse -> str"
``` ```
means that for a word like `hauptstrasse` four variants are created: means that for a word like `hauptstrasse` four variants are created: