gustafn
committed
on 20 Feb 22
Modernize code

- use dict instead of Tcl array
- prefer char operations instead of match operations