Edit IsRehauSku regex expression

This commit is contained in:
Sergey Chebotar 2021-12-08 17:22:46 +03:00
parent 93835233f3
commit bc3421e67f

View File

@ -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}$");
}
}
}