Use RegexOption.SingleLine to handle transitions to sections which have embedded carriage returns in the section title.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (forceConvertToText)
|
||||
newvalue = "?";
|
||||
string findLink = @"<START\].*?\[END>";
|
||||
MatchCollection ms = Regex.Matches(Text, findLink);
|
||||
MatchCollection ms = Regex.Matches(Text, findLink, RegexOptions.Singleline);
|
||||
//string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v '?\\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);
|
||||
string lookFor;
|
||||
if (tran == null)
|
||||
|
Reference in New Issue
Block a user