Hacker News new | ask | show | jobs
by c0nstantine 494 days ago
The second line actually is an output. I've modified the README. The last example is a typo. Fixed. Thanks!
1 comments

And the first one? Wouldn't the output be

batat hogog

Can't reproduce.

I have the following:

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

bat hog

it reads like '(c:b)at|(d:h)og' and not 'c:(bat)|d:(hog)'