Hacker News new | ask | show | jobs
by meonkeys 498 days ago
And the first one? Wouldn't the output be

batat hogog

2 comments

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)'