diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-08 17:22:46 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-12-08 17:22:46 +0300 |
commit | bc3421e67f7fd64ff0a7a0c078bbba6fbf971905 (patch) | |
tree | 6d3d2d95a047b52f8e0e64ce8af984a5804bf5c4 /Source | |
parent | 93835233f3ddc335d93b3092d5ae2fcca87ff2c2 (diff) |
Edit IsRehauSku regex expression
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Assistant/SkuAssist.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |