Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
c0nstantine
on Feb 7, 2025
|
parent
|
context
|
favorite
| on:
Show HN: Transductive regular expressions for text...
The second line actually is an output. I've modified the README. The last example is a typo. Fixed. Thanks!
meonkeys
on Feb 7, 2025
[–]
And the first one? Wouldn't the output be
batat hogog
c0nstantine
on Feb 7, 2025
|
parent
|
next
[–]
Can't reproduce.
I have the following:
> echo 'cat dog' | ./trre 'c:bat|d:hog'
bat hog
robertlutece
on Feb 8, 2025
|
parent
|
prev
[–]
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: