public ArchiveByPeriod(L10i l10i,
string title,
string directory,
int days,
string format,
string header,
IEnumerable<string> lookForLines,
IEnumerable<string> onHold,
string removeFromText,
bool checkForResult,
bool newSectionsDown,
int minimalSize,
int forcedArchivationDelay)
: base(l10i, title, directory, days, format, header, lookForLines, onHold, removeFromText, checkForResult, newSectionsDown, minimalSize, forcedArchivationDelay)
{
Regex escapeChars = new Regex(@"([dfFghHKmMstyYz:/OoRrsuGTU])");
Format = escapeChars.Replace(format, "\\$1");
Format = Format.Replace("%(год)", "yyyy").Replace("%(месяц)", "MM");
}