This commit is contained in:
Kathy Ruffing 2010-10-07 12:30:39 +00:00
parent a97adee587
commit 041ab92b04

View File

@ -32,7 +32,7 @@ namespace VEPROMS.CSLA.Library
public void FixContentText(RoUsageInfo rousg, string newvalue)
{
string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v \\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);
Match m = Regex.Match(Text, lookFor);
Match m = Regex.Match(Text, lookFor,RegexOptions.Singleline);
if (m != null && m.Groups.Count > 1)
{
System.Text.RegularExpressions.Group g = m.Groups[3];