Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLDR-17298 Update syntax to permit constants not followed by a unit #3727

Conversation

macchiati
Copy link
Member

and e-notation. Also do a bit of cleanup: adding links to the important syntax elements and changing the references to prefixes to point to the unitPrefix.

CLDR-17298

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

@macchiati macchiati merged commit 6f0bba3 into unicode-org:main May 17, 2024
7 checks passed
</ul></li>
<li><em>Note:</em> The number is an integer greater than one.</li>
<li><em>Note:</em> The <code>e</code> notation is optional: per-100-kilometer and per-1e2-kilometer are equivalent unit_identifiers.</li>
Copy link
Contributor

@FrankYFTang FrankYFTang Sep 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1e2 or 1e9 does not match “("1"[0-9]+ | [2-9][0-9])("e" ("1"[0-9]+ | [2-9][0-9]))?”

nor 1e3 1e4 1e5 etc

The part before “e” and after “e” only match “2”, “3”, “4” …. “99” with the definition of ("1"[0-9]+ | [2-9][0-9]*)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants