Fixed regex to include any font attributes

This commit is contained in:
AJ
2019-11-13 07:23:52 -05:00
parent 8224e11afa
commit 742de90d95
2 changed files with 6 additions and 6 deletions

View File

@@ -415,7 +415,7 @@ namespace ExportDXF.Forms
if (s == null)
return null;
var fontXmlRegex = new Regex("<FONT name=\".*?\">");
var fontXmlRegex = new Regex("<FONT.*?\\>");
var matches = fontXmlRegex.Matches(s)
.Cast<Match>()
.OrderByDescending(m => m.Index);