B2022-077 Need to use the Singleline RegexOption for Regex.Matches
This commit is contained in:
parent
23894b9ab5
commit
1974599986
@ -375,7 +375,8 @@ namespace VEPROMS.CSLA.Library
|
||||
|
||||
// B2022-020 remove a un-needed question mark that was in the search criteria "(<APL [^<]+) /APL>"
|
||||
// B2022-050 change the search string from "(<APL [^<]+) /APL>" to "<APL .*? /APL>" to handle when RO values have less then sign
|
||||
MatchCollection mm = Regex.Matches(roval, "<APL .*? /APL>");
|
||||
// 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, "<APL .*? /APL>", 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user