diff --git a/docs/ldml/tr35-general.md b/docs/ldml/tr35-general.md index 5730f6546cb..3c958cf3ef2 100644 --- a/docs/ldml/tr35-general.md +++ b/docs/ldml/tr35-general.md @@ -909,12 +909,12 @@ Some of the constraints reference data from the unitIdComponents in [Unit_Conver
unit_identifier | := | +|
unit_identifier | := | core_unit_identifier | mixed_unit_identifier | long_unit_identifier |
core_unit_identifier | := | +|
core_unit_identifier | := | product_unit ("-" per "-" product_unit)* | per "-" product_unit ("-" per "-" product_unit)*
|
product_unit | := | +|
product_unit | := | single_unit ("-" single_unit)* ("-" pu_single_unit)* | pu_single_unit ("-" pu_single_unit)*
|
single_unit | := | -number_prefix? dimensionality_prefix? simple_unit
-
|
single_unit | := | +dimensionality_prefix? simple_unit | unit_constant
+
|
pu_single_unit | := | "xxx-" single_unit | "x-" single_unit
@@ -948,17 +948,19 @@ Some of the constraints reference data from the unitIdComponents in [Unit_Conver
|
number_prefix | := | -("1"[0-9]+ | [2-9][0-9]*) "-" + |
unit_constant | := | +("1"[0-9]+ | [2-9][0-9]*)("e" ("1"[0-9]+ | [2-9][0-9]*))?
|
dimensionality_prefix | := | +|
dimensionality_prefix | := | "square-" | "cubic-" | "pow" ([2-9]|1[0-5]) "-"
|
simple_unit | := | +|
simple_unit | := | (prefix_component "-")* (prefixed_unit | base_component) ("-" suffix_component)* | currency_unit | "em" | "g" | "us" | "hg" | "of" @@ -979,16 +981,18 @@ Some of the constraints reference data from the unitIdComponents in [Unit_Conver |
prefixed_unit | prefix base_component
| |
prefix | + | |
prefix | si_prefix | binary_prefix | |
si_prefix | := | "deka" | "hecto" | "kilo", …
-
|
binary_prefix | := | "kibi", "mebi", …
-
|
prefix_component | := | [a-z]{3,∞}
@@ -1016,7 +1020,7 @@ Some of the constraints reference data from the unitIdComponents in [Unit_Conver
|
mixed_unit_identifier | := | +|
:= | (single_unit | pu_single_unit) ("-" and "-" (single_unit | pu_single_unit ))*
| |
grouping | := | [a-z]{3,∞} |
currency_unit | := | +|
currency_unit | := | "curr-" [a-z]{3}
|