diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/design.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/design.md b/docs/design.md index 4fa5b4a..35b0de0 100644 --- a/docs/design.md +++ b/docs/design.md @@ -435,10 +435,10 @@ while evaluating this rule. Tests of equal cost keep their written order, so every such `name` test in it has at least N groups, and a rule that uses `{N}` with no `name` test at all. -Known limitation: a `name` test matches the folded name when `fold` is on -(the default), and its captures are taken from that same text, so `{1}` -loses diacritics: `(name "^(.+)-faktura")` on `Łódź-faktura.pdf` makes `{1}` -`Lodz`. Set `(fold no)` in the rule to keep them. +With `fold` on, a `name` test matches the folded name, but its captures are +the original name's characters: `(name "^(.+)-faktura")` on +`Łódź-faktura.pdf` makes `{1}` `Łódź`, not `Lodz`. A capture that ends inside +a letter folding to two (`ß` to `ss`) takes the whole letter. ### 7.4 Conflicts |
