Improve detection of two prescription columns.

This commit is contained in:
Daniel Kraus 2015-12-03 06:03:35 +01:00
parent 86c8a9a1b4
commit d28d51e875
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -239,7 +239,7 @@ namespace zaaReloaded2.Medication
@"(?<dose>" + DOSE + @")" + SPACER + @"(?<dose>" + DOSE + @")" + SPACER +
@"(?<dose>" + DOSE + @")" + @"(?<dose>" + DOSE + @")" +
@"(" + SPACER + @"(?<dose>" + DOSE + @"))?" + @"(" + SPACER + @"(?<dose>" + DOSE + @"))?" +
@"( +(?<comment>[^\t]+))?)"; @"( +(?<comment>[^\t]+))?\s*)";
private static readonly Regex canonicalRegex = new Regex(canonicalPattern); private static readonly Regex canonicalRegex = new Regex(canonicalPattern);
/// <summary> /// <summary>