News for hackers. Stuff that matters.
Re:Show HN: Transductive regular expressions for text editing by c0nstantine on Friday February 07, 2025 @11:37AM (#42974625)
The second line actually is an output. I've modified the README. The last example is a typo. Fixed. Thanks!
Re:Show HN: Transductive regular expressions for text editing by meonkeys on Friday February 07, 2025 @12:17PM (#42975079)
And the first one? Wouldn't the output be

batat hogog

Re:Show HN: Transductive regular expressions for text editing by c0nstantine on Friday February 07, 2025 @01:42PM (#42975997)
Can't reproduce.

I have the following:

> echo 'cat dog' | ./trre 'c:bat|d:hog'

bat hog

Re:Show HN: Transductive regular expressions for text editing by robertlutece on Saturday February 08, 2025 @04:01AM (#42981578)
it reads like '(c:b)at|(d:h)og' and not 'c:(bat)|d:(hog)'