Merge branch 'master' of https://bitbucket.org/ajisaacs/exportdxf
This commit is contained in:
@@ -30,7 +30,7 @@ namespace ExportDXF
|
|||||||
|
|
||||||
public static DrawingInfo Parse(string input)
|
public static DrawingInfo Parse(string input)
|
||||||
{
|
{
|
||||||
const string pattern = @"(?<jobNo>[34]\d{3}(-\d+\w{1,2})?)\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);
|
var match = Regex.Match(input, pattern);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user