1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:37:36 +00:00

Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case

Let's make it clear that these functions deal with ASCII case only.
This commit is contained in:
Andreas Kling 2023-03-10 08:48:54 +01:00
parent 03cc45e5a2
commit a504ac3e2a
76 changed files with 480 additions and 476 deletions

View file

@ -78,16 +78,16 @@ public:
if (difficulty_string.matches("beginner"sv))
return Difficulty::Beginner;
if (difficulty_string.equals_ignoring_case("intermediate"sv))
if (difficulty_string.equals_ignoring_ascii_case("intermediate"sv))
return Difficulty::Intermediate;
if (difficulty_string.equals_ignoring_case("expert"sv))
if (difficulty_string.equals_ignoring_ascii_case("expert"sv))
return Difficulty::Expert;
if (difficulty_string.equals_ignoring_case("madwoman"sv))
if (difficulty_string.equals_ignoring_ascii_case("madwoman"sv))
return Difficulty::Madwoman;
if (difficulty_string.equals_ignoring_case("custom"sv))
if (difficulty_string.equals_ignoring_ascii_case("custom"sv))
return Difficulty::Custom;
return {};