From 818f08fbb52a687979998ddafe4ec71b6b492aae Mon Sep 17 00:00:00 2001 From: Thibaud Desodt Date: Sat, 6 Oct 2018 15:23:23 +0200 Subject: [PATCH] Remove unused class `ConfigurationValueSyntax` introduced while trying to fix the broken v2.6 release --- .../Configuration/ConfigurationValueSyntax.cs | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationValueSyntax.cs diff --git a/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationValueSyntax.cs b/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationValueSyntax.cs deleted file mode 100644 index 0569531..0000000 --- a/src/Serilog.Settings.Configuration/Settings/Configuration/ConfigurationValueSyntax.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Text.RegularExpressions; - -namespace Serilog.Settings.Configuration -{ - static class ConfigurationValueSyntax - { - const string LevelSwitchNameRegex = @"^\$[A-Za-z]+[A-Za-z0-9]*$"; - - public static bool IsValidSwitchName(string input) - { - return Regex.IsMatch(input, LevelSwitchNameRegex); - } - } -} \ No newline at end of file