closed EBNF sequence

–1 vote
asked Nov 4, 2022 in Wanted features by Todd Musheno (2,680 points)
closed Nov 9, 2022 by Todd Musheno

I think the use of {} is incorrect...

The top arrow skipping the elements should not be there...

{} should be interpreated as 1 or more... zero or more would just be an optional sequence [{x}]... I hope that makes sense.
closed with the note: My mistake

1 Answer

0 votes
answered Nov 4, 2022 by plantuml (295,000 points)

Are you sure? It looks like {} means zero_or_more (see for example).

For one_or_more, you can use this notation.

commented Nov 8, 2022 by Todd Musheno (2,680 points)
No I am not 100%... will research when I have time
commented Nov 9, 2022 by Todd Musheno (2,680 points)
Never mind you are correct