|
|
@@ -110,7 +110,7 @@ namespace Util
|
|
|
itemString = itemString.Replace(subLoop.Value, "${tag" + index + "}$");
|
|
|
replaceDict.Add("tag" + index, subLoop.Value);
|
|
|
}
|
|
|
- MatchCollection subLoops = Regex.Matches(itemString, "<<ym-item:.*?>>[\\s\\S]*?<</ym-item:.*?>>");
|
|
|
+ subLoops = Regex.Matches(itemString, "<<ym-item:.*?>>[\\s\\S]*?<</ym-item:.*?>>");
|
|
|
foreach (Match subLoop in subLoops)
|
|
|
{
|
|
|
index += 1;
|
|
|
@@ -194,7 +194,7 @@ namespace Util
|
|
|
itemString = itemString.Replace(subLoop.Value, "${tag" + index + "}$");
|
|
|
replaceDict.Add("tag" + index, subLoop.Value);
|
|
|
}
|
|
|
- MatchCollection subLoops = Regex.Matches(itemString, "<<ym-item:.*?>>[\\s\\S]*?<</ym-item:.*?>>");
|
|
|
+ subLoops = Regex.Matches(itemString, "<<ym-item:.*?>>[\\s\\S]*?<</ym-item:.*?>>");
|
|
|
foreach (Match subLoop in subLoops)
|
|
|
{
|
|
|
index += 1;
|