Adding support for ÆØÅ
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user