Hacker News new | ask | show | jobs
by peteforde 78 days ago
That's literally and exactly what I said.
1 comments

To be fair to GP, I too was confused by your use of brackets here.
I wasn't trying to be obtuse.

Formal grammar / technical documentation style guides consistently define:

[ ... ] = optional

{ ... } = repetition

| = alternatives

Hacker news isn't a formal grammar specification though. People use [1] for references here too (which you could easily have forgotten).