Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: