Closed weaverba137 closed 1 year ago
Also extend existing code by detecting corner cases where we allow special units like maggy, but where the formatting is still invalid, e.g. 1/nanomaggie^2 is invalid (should be nanomaggie^-2), even if we allow nanomaggie to be a unit.
maggy
1/nanomaggie^2
nanomaggie^-2
nanomaggie
Also extend existing code by detecting corner cases where we allow special units like
maggy
, but where the formatting is still invalid, e.g.1/nanomaggie^2
is invalid (should benanomaggie^-2
), even if we allownanomaggie
to be a unit.