m-ender / retina

A regex-based programming language.
MIT License
231 stars 10 forks source link

Transliterate mode with remove and subtitution in one phase #48

Closed randomra closed 8 years ago

randomra commented 8 years ago

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

m-ender commented 8 years ago

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

m-ender commented 8 years ago

Implemented in be7294d.