This commit is contained in:
parent
a97adee587
commit
041ab92b04
@ -32,7 +32,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
public void FixContentText(RoUsageInfo rousg, string newvalue)
|
public void FixContentText(RoUsageInfo rousg, string newvalue)
|
||||||
{
|
{
|
||||||
string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* (.*?)(\\[^v \\]+)*\\v(\\[^v \\]+)* #Link:ReferencedObject:{0} .*?\[END>", rousg.ROUsageID);
|
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)
|
if (m != null && m.Groups.Count > 1)
|
||||||
{
|
{
|
||||||
System.Text.RegularExpressions.Group g = m.Groups[3];
|
System.Text.RegularExpressions.Group g = m.Groups[3];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user