[NF] Nun können Sektionen auch umlaute benutzen

This commit is contained in:
BlubbFish 2017-08-09 22:38:14 +00:00
parent f9216f7bc9
commit 4a91406d4f

View File

@ -52,7 +52,7 @@ namespace BlubbFish.Utils
Dictionary<String, String> sub = new Dictionary<String, String>();
String cap = "";
foreach (String line in buf) {
Match match = Regex.Match(line, @"^\[[a-zA-Z0-9\-_ ]+\]\w*$", RegexOptions.IgnoreCase);
Match match = Regex.Match(line, @"^\[[a-zA-ZäöüÄÖÜ0-9\-_ ]+\]\w*$", RegexOptions.IgnoreCase);
if (match.Success) {
if (sub.Count != 0 && cap != "") {
this.cont.Add(cap, sub);