Fix Daniel's style.

This commit is contained in:
Daniel Kraus 2015-09-04 11:37:54 +02:00
parent e8959d1024
commit 16558cc9a1

View File

@ -83,7 +83,7 @@ namespace zaaReloaded2.Formatter
static void FixSalutation(Document document)
{
Regex sal = new Regex(@"^Mit.*?Grüßen\r");
Regex med = new Regex(@"^((Häusl|Empf).*?Medikat)|Therapieempf");
Regex med = new Regex(@"^((Häusl|Empf).*?Medikat)|^Therapieempf");
foreach (Paragraph p in document.Paragraphs)
{
if (sal.IsMatch(p.Range.Text)) p.Range.Text = "Mit freundlichen, kollegialen Grüßen,\r";