fix subsequent replacements

Two replacement words directly following each other did not
work as expected because each expects a space at the
beginning/end while there was only one space available.

Also forbit composing a word after a space was added in the
end by a previous replacement.
This commit is contained in:
Sarah Hoffmann
2021-07-01 17:56:23 +02:00
parent 7b0f6b7905
commit e85f7e7aa9
3 changed files with 57 additions and 35 deletions

View File

@@ -23,7 +23,6 @@ transliteration:
- "[^[:Ascii:]] >"
- ":: lower ()"
- ":: NFC ()"
- "[:Space:]+ > ' '"
variants:
- !include icu-rules/variants-bg.yaml
- !include icu-rules/variants-ca.yaml