Skip to content

Support (loose) string-to-property-map matching in icu_properties #3559

Open
@skius

Description

@skius

icu_properties does not support obtaining a CodePointMapData (or CodePointSet) from the string of a property name for many properties. It's supported for ECMA-262 binary properties through load_for_ecma_262_unstable, but, e.g., load_word_break cannot be accessed given a string; the client would have to perform property-name-to-icu_properties-functions mapping themselves. Loose matching should also be supported.

UnicodeSet could also support more properties with those features.

Metadata

Metadata

Labels

C-unicodeComponent: Props, sets, triesdiscussDiscuss at a future ICU4X-SC meetingdiscuss-triagedThe stakeholders for this issue have been identified and it can be discussed out-of-band

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions