From 1974599986c2158d973120652cdaa19d1fbad935 Mon Sep 17 00:00:00 2001 From: John Date: Mon, 11 Jul 2022 20:36:27 +0000 Subject: [PATCH] B2022-077 Need to use the Singleline RegexOption for Regex.Matches --- PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index b0fe3b20..37e2663d 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -375,7 +375,8 @@ namespace VEPROMS.CSLA.Library // B2022-020 remove a un-needed question mark that was in the search criteria "(" // B2022-050 change the search string from "(" to "" to handle when RO values have less then sign - MatchCollection mm = Regex.Matches(roval, ""); + // B2022-077 Need to use the RegexOption of Singleline to handle cases of an RO Return value having ascii newline characters (\r\n) + MatchCollection mm = Regex.Matches(roval, "", RegexOptions.Singleline); // C2022-014 commented write to error log. Keep for debugging purposes. //if (mm.Count == 0) // B2022-020 will now write in error log if there is a problem