1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:18:12 +00:00
serenity/Userland/Libraries/LibUnicode
Timothy Flynn 671eaa0c59 LibUnicode: Add helper lambda for appending canonicalized strings
Once canonical extensions are implemented, the number of:

    if (optional_string.has_value() {
        builder.append('-');
        builder.append(optional_string->to_lowercase_string());
    }

Will be quite large. This commit just adds a helper lambda to handle
this pattern to prevent this function from becoming even more enormous.
2021-08-30 19:42:40 +01:00
..
CharacterTypes.cpp LibUnicode: Download and parse DerivedNormalizationProps UCD file 2021-08-11 13:11:01 +02:00
CharacterTypes.h LibUnicode: Parse UCD ScriptExtensions.txt and generate property 2021-08-04 13:50:32 +01:00
CMakeLists.txt Meta+LibUnicode: Move unicode_data helper to Meta/CMake 2021-08-28 08:44:17 +01:00
Forward.h LibUnicode: Generate locale subtag data as multiple smaller tables 2021-08-27 12:32:24 +01:00
Locale.cpp LibUnicode: Add helper lambda for appending canonicalized strings 2021-08-30 19:42:40 +01:00
Locale.h LibUnicode: Parse locale private use extensions 2021-08-30 19:42:40 +01:00