| 263 | } |
| 264 | |
| 265 | std::string lowercase_ascii(std::string value) { |
| 266 | for (char & ch : value) { |
| 267 | ch = static_cast<char>(std::tolower(static_cast<unsigned char>(ch))); |
| 268 | } |
| 269 | return value; |
| 270 | } |
| 271 | |
| 272 | std::vector<uint32_t> utf8_codepoints(std::string_view text, std::string_view label) { |
| 273 | std::vector<uint32_t> out; |
no outgoing calls
no test coverage detected