TRRE: Transductive Regular Expressions – Beyond Classic Regex
2025-02-07
TRRE is a prototype extension of regular expressions designed for more intuitive text editing and pattern matching. Unlike traditional regex, TRRE uses the `:` symbol to define transformations, simplifying text replacement, insertion, and deletion. It provides a `grep`-like command-line tool for efficient text manipulation tasks like word substitution, character insertion/deletion, and even simple encryption/decryption. While still a prototype, TRRE shows promise, especially for complex tasks where its performance can even surpass `sed` in certain scenarios.
Development