You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bip-path-templates.mediawiki
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ Each section consists of ''index template'', optionally followed by the hardened
98
98
Index template can be:
99
99
100
100
* An integer value from 0 to 2147483647 ("Unit index template")
101
+
* A single "*" character, which denotes any value from 0 to 2147483647 ("Wildcard index template")
101
102
* The <nowiki>"{"</nowiki> character, followed by a number of ''index ranges'' delimited by commas (","), followed by <nowiki>"}"</nowiki> character ("Ranged index template")
102
103
103
104
Implementations MAY limit the maximum number of index ranges within the Ranged index template.
@@ -113,11 +114,16 @@ For Non-unit range, value on the left side of the "-" character is the range_sta
113
114
114
115
For Unit range, we say that range_start is equal to range_end, even though there is no start/end in the Unit range.
115
116
117
+
Unit index template contains a single index range, which is the Unit range
118
+
119
+
Wildcard index template contains a single index range, and we say that its range_start is set to 0 and its range_end is set to 2147483647
120
+
116
121
Constraints:
117
122
118
123
# To avoid ambiguity, whitespace MUST NOT appear within the path template.
119
124
# Commas within the Ranged index template MUST only appear in between index ranges.
120
125
# To avoid ambiguity, an index range that matches a single value MUST be specified as Unit range.
126
+
# To avoid ambiguity, an index template that matches any value from 0 to 2147483647 MUST be specified as Wildcard index template
121
127
# For Non-unit range, range_end MUST be larger than range_start.
122
128
# If there is more than one index range within the Ranged index template, range_start of the second and any subsequent range MUST be larger than the range_end of the preceeding range.
123
129
# To avoid ambiguity, all representations of integer values larger than 0 MUST NOT start with character "0" (no leading zeroes allowed).
0 commit comments