From 1e6c52a10b0c548928ae6e23c93e498226906746 Mon Sep 17 00:00:00 2001 From: infeeeee Date: Wed, 20 Nov 2019 16:47:06 +0100 Subject: [PATCH] still fixing regex --- kimai2/kimaiMeasures.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kimai2/kimaiMeasures.inc b/kimai2/kimaiMeasures.inc index 6cf3725..82bdbec 100644 --- a/kimai2/kimaiMeasures.inc +++ b/kimai2/kimaiMeasures.inc @@ -76,4 +76,4 @@ Measure=String String=#activeHrs#:[MeasureMins] DynamicVariables=1 RegExpSubstitute=1 -Substitute="(:)(\d)$":"\10\2 ","(:\d\d)$":"\1 ","^:\d+ $":"","\#activeHrs\#:\d\d":"" \ No newline at end of file +Substitute="(:)(\d)$":"\10\2 ","(:\d\d)$":"\1 ","^:\d+ *$":"","\#activeHrs\#:\d\d":"" \ No newline at end of file