From dcfb0e627255048037af5a1e4cfbfc85f5beaaa1 Mon Sep 17 00:00:00 2001 From: BlubbFish Date: Sun, 30 Dec 2018 19:51:43 +0000 Subject: [PATCH] mqtt-map auf dem congress --- InIReader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/InIReader.cs b/InIReader.cs index 86f3d43..738b944 100644 --- a/InIReader.cs +++ b/InIReader.cs @@ -91,7 +91,7 @@ namespace BlubbFish.Utils { Dictionary sub = new Dictionary(); String cap = ""; foreach (String line in buf) { - Match match = Regex.Match(line, @"^\[[a-zA-ZäöüÄÖÜ0-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.inifile.Add(cap, sub); @@ -140,7 +140,7 @@ namespace BlubbFish.Utils { if(!key.StartsWith("[")) { key = "[" + key + "]"; } - if (Regex.Match(key, @"^\[[a-zA-ZäöüÄÖÜ0-9\-_ ]+\]\w*$", RegexOptions.IgnoreCase).Success) { + if (Regex.Match(key, @"^\[[a-zA-ZäöüÄÖÜ0-9\-\._/ ]+\]\w*$", RegexOptions.IgnoreCase).Success) { this.inifile.Add(key, item.Value); } }