Corey Trager
-
2009-11-05
- assigned_to: nobody --> ctrager
Similar to protected string[] FromCannotContainStrings; I've implemmented protected string[] FromMustContainStrings as you can see below
line 45: added --> protected string[] FromMustContainStrings;
line 216: added --> FromMustContainStrings = rePipes.Split(FromMustContain);
line 653-657: changed to -->
bool bContinue = false;
if (FromMustContain != "")
{
for (int k = 0; k < FromMustContainStrings.Length; k++)
{
if (FromMustContainStrings[k] != "")
{
if (from.IndexOf(FromMustContainStrings[k]) >= 0)
{
bContinue = true; // that is, skip to next message
break; // done checking, skip this message
}
}
}
}
if (!bContinue)
{
write_line("skipping because from does not contain any part of " + FromMustContain);
continue;
}