News for hackers. Stuff that matters.
Re:Show HN: Transductive regular expressions for text editing by johnnymellor on Friday February 07, 2025 @04:47PM (#42977874)
If I understand correctly the following ttre expression does what you're asking for:

  ":'(':(\\')|[^"'])*":'
Re:Show HN: Transductive regular expressions for text editing by layer8 on Friday February 07, 2025 @07:53PM (#42979262)
Good point, I didn't think of that solution.
Re:Show HN: Transductive regular expressions for text editing by tomashubelbauer on Saturday February 08, 2025 @07:31AM (#42982490)
So this is how it feels to read a regex when you don't know how to regex.
Re:Show HN: Transductive regular expressions for text editing by c0nstantine on Saturday February 08, 2025 @09:58AM (#42983330)
Thank you for doing my work! :)