diff --git a/src/util/CharUtil.hxx b/src/util/CharUtil.hxx index 8fb2f81ad..d599269bc 100644 --- a/src/util/CharUtil.hxx +++ b/src/util/CharUtil.hxx @@ -97,6 +97,12 @@ IsAlphaNumericASCII(char ch) noexcept return IsAlphaASCII(ch) || IsDigitASCII(ch); } +constexpr bool +IsUpperAlphaNumericASCII(char ch) noexcept +{ + return IsUpperAlphaASCII(ch) || IsDigitASCII(ch); +} + constexpr bool IsLowerAlphaNumericASCII(char ch) noexcept {