Fix Daniel's style.
This commit is contained in:
parent
e8959d1024
commit
16558cc9a1
@ -83,7 +83,7 @@ namespace zaaReloaded2.Formatter
|
|||||||
static void FixSalutation(Document document)
|
static void FixSalutation(Document document)
|
||||||
{
|
{
|
||||||
Regex sal = new Regex(@"^Mit.*?Grüßen\r");
|
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)
|
foreach (Paragraph p in document.Paragraphs)
|
||||||
{
|
{
|
||||||
if (sal.IsMatch(p.Range.Text)) p.Range.Text = "Mit freundlichen, kollegialen Grüßen,\r";
|
if (sal.IsMatch(p.Range.Text)) p.Range.Text = "Mit freundlichen, kollegialen Grüßen,\r";
|
||||||
|
Loading…
Reference in New Issue
Block a user