From a578af87a355a14bd90d3f8fd86a568fc767e88e Mon Sep 17 00:00:00 2001 From: aj Date: Sun, 10 Jun 2018 11:49:08 -0400 Subject: [PATCH] Changed drawing number pattern to include things like rebuild number following the job number. --- ExportDXF/DrawingInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExportDXF/DrawingInfo.cs b/ExportDXF/DrawingInfo.cs index 156c0f1..fd71187 100644 --- a/ExportDXF/DrawingInfo.cs +++ b/ExportDXF/DrawingInfo.cs @@ -30,7 +30,7 @@ namespace ExportDXF public static DrawingInfo Parse(string input) { - const string pattern = @"(?[34]\d{3})\s?(?[ABEP]\d+(-\d+|[A-Z])?)"; + const string pattern = @"(?[34]\d{3}(-\d+\w{1,2})?)\s?(?[ABEP]\d+(-\d+|[A-Z])?)"; var match = Regex.Match(input, pattern);