From 645dd85bf7eef2498fb8dcf84500547b86e01616 Mon Sep 17 00:00:00 2001 From: Rich Date: Mon, 26 Sep 2016 20:36:24 +0000 Subject: [PATCH] Step transitions to another Section were being output as Section 3.0 Step 3.4. This change causes the code to output Step 3.4. --- PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs index e4a6599d..21fcd7a9 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/TransitionExt.cs @@ -754,7 +754,7 @@ namespace VEPROMS.CSLA.Library { return GetResolvedText(fromInfo.ActiveFormat, fromInfo, tranType, toItem, rangeItem, hasPageNum); } - private static Regex RegFixVCS = new Regex(@"Section ([0-9.]+) Step \1"); // Find Section xxx followed by Step xxx + private static Regex RegFixVCS = new Regex(@"Section ([0-9.]+)(.0)? Step \1"); // Find Section xxx followed by Step xxx public static string GetResolvedText(FormatInfo formatInfo, ItemInfo fromInfo, int tranType, ItemInfo toItem, ItemInfo rangeItem, bool pagenum) { if (!pagenum)