Changed drawing number pattern to include things like rebuild number following the job number.
This commit is contained in:
@@ -30,7 +30,7 @@ namespace ExportDXF
|
||||
|
||||
public static DrawingInfo Parse(string input)
|
||||
{
|
||||
const string pattern = @"(?<jobNo>[34]\d{3})\s?(?<dwgNo>[ABEP]\d+(-\d+|[A-Z])?)";
|
||||
const string pattern = @"(?<jobNo>[34]\d{3}(-\d+\w{1,2})?)\s?(?<dwgNo>[ABEP]\d+(-\d+|[A-Z])?)";
|
||||
|
||||
var match = Regex.Match(input, pattern);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user