The added overload for the "ExtractPhrases" method does not respect the "optionalBooleanTrimSpaces" parameter if an opening square bracket is present within "stringPhrases":
foreach (string s in VA.ExtractPhrases(" tEsT ; test ; tes t", false, false))
{
VA.WriteToLog(s.Length.ToString());
}
will write "25", "8", and "9" to the log(the "Length" property is used as what is written to the log also has its whitespace trimmed)
whereas
foreach (string s in VA.ExtractPhrases(" tEsT ; test ; tes t[", false, false))
{
VA.WriteToLog(s.Length.ToString());
}
will write "4", "4", and "5" to the log, as even mid-string whitespace will have been trimmed.
I assume the parser for dynamic sections always trims whitespace when it is called. Perhaps mentioning this caveat in the documentation would suffice?
EDIT: Noted in the documentation for v1.7.3.2