Edit IsRehauSku regex expression
This commit is contained in:
parent
93835233f3
commit
bc3421e67f
@ -104,7 +104,7 @@ namespace RehauSku.Assistant
|
|||||||
}
|
}
|
||||||
public static bool IsRehauSku(this string line)
|
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}$");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user