From bc3421e67f7fd64ff0a7a0c078bbba6fbf971905 Mon Sep 17 00:00:00 2001 From: Sergey Chebotar Date: Wed, 8 Dec 2021 17:22:46 +0300 Subject: [PATCH] Edit IsRehauSku regex expression --- Source/Assistant/SkuAssist.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Assistant/SkuAssist.cs b/Source/Assistant/SkuAssist.cs index 9beb0ce..28d1503 100644 --- a/Source/Assistant/SkuAssist.cs +++ b/Source/Assistant/SkuAssist.cs @@ -104,7 +104,7 @@ namespace RehauSku.Assistant } public static bool IsRehauSku(this string line) { - return Regex.IsMatch(line, @"[1]\d{6}[1]\d{3}"); + return Regex.IsMatch(line, @"^[1]\d{6}[1]\d{3}$"); } } } \ No newline at end of file