Skip to content

lookup all codepoints with general_category (eg) "Lu" #213

@jrochkind

Description

@jrochkind

I see the fancy code for using a trie to lookup codepoints with certain properties, but either it doesn't work for general_category, or I'm not using it right.

TwitterCldr::Shared::CodePoint.code_points_for_property("general_category", "Lu").count
# => 0

TwitterCldr::Shared::CodePoint.properties.property_values_for("general_category")
# => ["Cc", "Cf", "Co", "Cs", "Ll", "Lm", "Lo", "Lt", "Lu", "Mc", "Me", "Mn", "Nd", "Nl", "No", "Pc", "Pd", "Pe", "Pf", "Pi", "Po", "Ps", "Sc", "Sk", "Sm", "So", "Zl", "Zp", "Zs"]

(PS: Thank you for this awesome gem, a real service to the community)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions