Adding support for ÆØÅ

This commit is contained in:
2025-08-04 15:05:38 +02:00
parent ac4ade5a29
commit b4dab73374

View File

@@ -1,4 +1,5 @@
using System.Text.RegularExpressions;
using System.Text;
using System.Text.RegularExpressions;
namespace opg1
{
@@ -107,7 +108,7 @@ namespace opg1
static bool IfConsistsOfUppercaseLetters(string str)
{
return str.Equals(Regex.Match(str, "[A-Z]+").Value);
return str.Equals(Regex.Match(str, "[A-ZÆØÅ]+").Value);
}
static bool IfGreaterThanThirdOne(List<int> ints)