• Congratulations to the Class of 2024 on your results!
    Let us know how you went here
    Got a question about your uni preferences? Ask us here

Quick EBNF question (1 Viewer)

Joined
Jul 17, 2009
Messages
273
Location
Planet Earth
Gender
Male
HSC
2009
I was looking at this right:


(from board of studies)

Anyway the interpretation part of the example is confusing me. It says a letter followed by one or more letters or digits. But the option is in repetition symbols meaning 0 or more. So shouldn't it be a letter followed by an 0 or more letters and/or digits?

I'm assuming that if there is an option you have to do it at least once even in repetition brackets but I just want to make sure.
 

ibrian

Member
Joined
Mar 21, 2008
Messages
67
Gender
Male
HSC
2009
yeah it can also be 0
there was a question like this in multichoice in 06 i think
 
Joined
Jul 17, 2009
Messages
273
Location
Planet Earth
Gender
Male
HSC
2009
yeah it can also be 0
there was a question like this in multichoice in 06 i think
I was just doing 06 multi lol. But yeah that used a railroad diagram, and if that above thing was in a railroad it would be possible to just skip it.

Cheers :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top