[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search

CLDR Ticket #7499(accepted tools)

Opened 4 years ago

Last modified 3 years ago

Optimize regular expression (parsing) in SupplementalMetadata units field.

Reported by: ribnitz Owned by: googler
Component: unknown Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:


Currently, the valid units in supplementalMetadata are specified as a long regular expression, which has probably grown to be what it is today. When I added a few units (from en) earlier today, I wondered if it was more efficient to write:


or listing them all separately, as is the case for volume:


In any case, it is not particularly readable at the moment; when parsing, the data structure that should be should not backtrack, for example a trie.


Change History

comment:1 Changed 4 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to tools
  • Priority changed from assess to minor
  • Milestone changed from UNSCH to 26
  • Owner changed from anybody to ribnitz
  • Type changed from unknown to enhancement

comment:2 Changed 4 years ago by markus

  • Phase set to final

comment:3 Changed 4 years ago by mark

  • Owner changed from ribnitz to googler
  • Milestone changed from 26 to 27dsub

comment:4 Changed 4 years ago by emmons

  • Phase changed from final to dsub
  • Milestone changed from 27dsub to 27

comment:5 Changed 3 years ago by emmons

  • Milestone changed from 27 to UNSCH

comment:6 Changed 3 years ago by markus

  • Type changed from enhancement to tools
  • Component changed from tools to unknown

comment:7 Changed 3 years ago by srl

  • Status changed from assigned to accepted

Add a comment

Modify Ticket

as accepted

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.