From 7eaabb7f13f10b99ec7a02f4d12837db9f488cd4 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Thu, 20 Aug 2015 21:04:25 +0200 Subject: [PATCH] Amend Lauris timepoint parsing to accept "Labor:" prefix. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - VERBESSERUNG: Datumseilen, die mit "Labor:" beginnen, werden nicht länger ignoriert. --- zaaReloaded2/Importer/ZaaImporter/LaurisTimePoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaaReloaded2/Importer/ZaaImporter/LaurisTimePoint.cs b/zaaReloaded2/Importer/ZaaImporter/LaurisTimePoint.cs index 18c751d..dddad16 100755 --- a/zaaReloaded2/Importer/ZaaImporter/LaurisTimePoint.cs +++ b/zaaReloaded2/Importer/ZaaImporter/LaurisTimePoint.cs @@ -236,7 +236,7 @@ namespace zaaReloaded2.Importer.ZaaImporter /// paragraph of a LaurisText. /// static readonly Regex _timeStampRegex = new Regex( - @"^\s*\(?\s*(?\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)"); + @"^(Labor:)?\s*\(?\s*(?\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)"); IList _paragraphs; Parameters _parameterDictionary; Units _unitDictionary;