Bullet-proof time stamp detection.
Sometimes the "Labor" is not followed by a colon.
This commit is contained in:
		@@ -236,7 +236,7 @@ namespace zaaReloaded2.Importer.ZaaImporter
 | 
				
			|||||||
        /// paragraph of a LaurisText.
 | 
					        /// paragraph of a LaurisText.
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        static readonly Regex _timeStampRegex = new Regex(
 | 
					        static readonly Regex _timeStampRegex = new Regex(
 | 
				
			||||||
            @"^(Labor:)?\s*\(?\s*(?<datetime>\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)");
 | 
					            @"^(Labor:?)?\s*\(?\s*(?<datetime>\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)");
 | 
				
			||||||
        IList<String> _paragraphs;
 | 
					        IList<String> _paragraphs;
 | 
				
			||||||
        Parameters _parameterDictionary;
 | 
					        Parameters _parameterDictionary;
 | 
				
			||||||
        Units _unitDictionary;
 | 
					        Units _unitDictionary;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user