Hacker News new | ask | show | jobs
by akavi 3759 days ago
What I got out of this: regex precedence rules are really unintuitive to me.
1 comments

What is a precedence rule in regex? You can either derive a string or you can't. Precedence problems result in ambiguity, there shouldn't be any ambiguity here
The regex operators can be ordered by precedence. The whole point is of course to avoid ambiguity...?