m-ender / retina

A regex-based programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overlapping matches for transliteration mode

m-ender opened this issue · comments

The & option from M mode could potentially also be interesting (and well-defined) for T mode. The main question is whether a character that is part of two matches should be transliterated twice or not. Maybe provide both options.

Retina 1.0 can obtain overlapping matches for all stage types and transliteration has been defined appropriately so that this is the resulting behaviour. By default it transliterates each character once for each match it appears in, but there'll be an option to transliterate each character at most once.