summaryrefslogtreecommitdiff
path: root/grammar/abnf grammars/test.abnf
blob: d58bfcb6bc29e5743b193c1200c0b20476f0ffee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
document     =  1*( item )

item         =  header [ price ] *1( note )

item        =/  header [ price ] *1( note )

header       =  *1star "SP" title %xA *( "SP" / %xA )

title        =  1*"TEXT"

star         =  %x2A

note         =  "note:" "SP" note-content %xA *( "SP" / %xA )

note-content =  1*"TEXT"

price        =  "price:" "SP" 1*"DIGIT" %xA *( "SP" / %xA )