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)