From b4dab73374b53c90367ac5d9167b9c21e96af74b Mon Sep 17 00:00:00 2001 From: smallbenji Date: Mon, 4 Aug 2025 15:05:38 +0200 Subject: [PATCH] =?UTF-8?q?Adding=20support=20for=20=C3=86=C3=98=C3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Program.cs b/Program.cs index c4c1e2a..29aa52a 100644 --- a/Program.cs +++ b/Program.cs @@ -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 ints)