This commit is contained in:
Henrik Rydgård committed 2025-01-07 17:54:52 +01:00
1 parent 177019bdf4
commit 77e575dd65
1 file changed
+5
+5
View File
@@ -71,6 +71,11 @@ inline bool equalsNoCase(std::string_view str, std::string_view key) {
bool containsNoCase(std::string_view haystack, std::string_view needle);
// Sigh
#ifdef None
#undef None
#endif
enum class StringRestriction {
None,
AlphaNumDashUnderscore, // Used for infrastructure usernames