News for hackers. Stuff that matters.
Re:Show HN: Transductive regular expressions for text editing by c0nstantine on Saturday February 08, 2025 @02:07PM (#42985326)
I agree with the point that precedence is arbitrary. The current version looks like this:

1 Escaped characters

2 []

3 ()

4 * + ? {m,n}

5 :

6 . (implicit concatenation)

7 |

I have some reasons to put it that way. I want : to be somewhat 'atomic'. If you think about '*' or '+' they can be lower in the table as well. Anyway, I will try to put : lower in the next version and see how it goes.

There are no comments on this comment yet.