diff --git a/Source/Assistant/SkuAssist.cs b/Source/Assistant/SkuAssist.cs index eddb0cd..9beb0ce 100644 --- a/Source/Assistant/SkuAssist.cs +++ b/Source/Assistant/SkuAssist.cs @@ -104,9 +104,7 @@ namespace RehauSku.Assistant } public static bool IsRehauSku(this string line) { - return Regex.IsMatch(line, @"\d{11}") && - line[0].Equals('1') && - line[7].Equals('1'); + return Regex.IsMatch(line, @"[1]\d{6}[1]\d{3}"); } } } \ No newline at end of file