m-ender / retina

A regex-based programming language.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Transliterate mode with remove and subtitution in one phase

randomra opened this issue · comments

This would be doable with a character (e.g. r) assigned to removal in the to part of the expression. It could expand as any other characters or classes.

E.g. change digits to their modulo 3 value while removing lowercase letters:
Tdl0120120120r

Interesting idea. I might go with something else like _ instead of r, but I like it.

Implemented in be7294d.