Changed RegEx expression to find Links in FixTranstionText
This commit is contained in:
parent
fd709f3fb7
commit
8496e3128a
@ -19,7 +19,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
public void FixTransitionText(TransitionInfo tran)
|
public void FixTransitionText(TransitionInfo tran)
|
||||||
{
|
{
|
||||||
string transText = tran.ResolvePathTo();
|
string transText = tran.ResolvePathTo();
|
||||||
string lookFor = string.Format(@"<START\]\\v0 (.*?)\\v #Link:Transition.*?:{0} {1}.*?\[END>", tran.TranType, tran.TransitionID);
|
string lookFor = string.Format(@"<START\]\\v0 ([^#]*?)\\v #Link:Transition[^:]*?:{0} {1} [0-9]*\[END>", tran.TranType, tran.TransitionID);
|
||||||
Match m = Regex.Match(Text, lookFor);
|
Match m = Regex.Match(Text, lookFor);
|
||||||
if (m != null && m.Groups.Count > 1)
|
if (m != null && m.Groups.Count > 1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user