-
Notifications
You must be signed in to change notification settings - Fork 24
/
abnf-examples.txt
105 lines (79 loc) · 2.73 KB
/
abnf-examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# basic element
\a
EBMLParents :
EBMLElementName : a
# basic element
\a\b
EBMLParents : a\
IntermediatePathAtomA : a\
EBMLElementName : b
# global element found at \a\global, \a\x\global, \a\x\y\global, etc
\a\(*\)global
EBMLParents : a\(*\)
IntermediatePathAtomA : a\
IntermediatePathAtomB : (*\)
EBMLElementName : global
# element inside the global element matching \a\global\b, \a\x\global\b, \a\x\y\global\b, etc
\a\(*\)global\b
EBMLParents : a\(*\)global\
IntermediatePathAtomA : a\
IntermediatePathAtomB : (*\)
IntermediatePathAtomC : global\
EBMLElementName : b
# global element found at \global, \x\global, etc
\(*\)global
EBMLParents : (*\)
IntermediatePathAtomA : (*\)
EBMLElementName : global
# global element found at \x\global, \x\y\global, etc
\(1*\)global
EBMLParents : (1*\)
IntermediatePathAtomA : (1*\)
EBMLElementName : global
# at least \ before Void
\(*\)Void
EBMLParents : (*\)
IntermediatePathAtomA : (*\)
EBMLElementName : Void
# at least an extra \ before CRC-32 (\any_master\CRC-32)
\(1*\)CRC-32
EBMLParents : (1*\)
IntermediatePathAtomA : (1*\)
EBMLElementName : CRC-32
# recursive element matching \a\recursive, \a\recursive\recursive, etc
\a\+recursive
EBMLParents : a\
IntermediatePathAtomA : a\
EBMLElementName : recursive
# element in recursive matching \a\recursive\b, \a\recursive\recursive\b, etc
\a\+recursive\b
EBMLParents : a\+recursive\
IntermediatePathAtomA : a\
IntermediatePathAtomB : +recursive\
EBMLElementName : b
# global recursive element matching \a\recursive, \a\recursive\recursive, \a\x\recursive, \a\x\recursive\recursive, etc
\a\(*\)+recursive
EBMLParents : a\(*\)
IntermediatePathAtomA : a\
IntermediatePathAtomB : (*\)
EBMLElementName : recursive
# element in global recursive matching \a\recursive\b, \a\recursive\recursive\b, \a\x\recursive\b, \a\x\recursive\recursive\b, etc
\a\(*\)+recursive\b
EBMLParents : a\(*\)+recursive\
IntermediatePathAtomA : a\
IntermediatePathAtomB : (*\)
IntermediatePathAtomC : +recursive\
EBMLElementName : b
# parent Matroska global element to old custom hashes
\Segment\(*\)MKVHash
EBMLParents : \Segment\(*\)
IntermediatePathAtomA : Segment\
IntermediatePathAtomB : (*\)
EBMLElementName : MKVHash
# Matroska has type that can be used anywhere withing a MKVHash
\Segment\(*\)MKVHash\HashType
EBMLParents : \Segment\(*\)MKVHash\
IntermediatePathAtomA : Segment\
IntermediatePathAtomB : (*\)
IntermediatePathAtomC : MKVHash\
EBMLElementName : HashType