summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cc b/main.cc
index 3365df15..28bee25a 100644
--- a/main.cc
+++ b/main.cc
@@ -104,12 +104,14 @@ namespace ledger {
}
*value_expr += "/";
+ if (kind == NOTE_REGEXP) *value_expr += ":";
while (*p) {
if (*p == '/')
*value_expr += "\\";
*value_expr += *p;
p++;
}
+ if (kind == NOTE_REGEXP) *value_expr += ":";
*value_expr += "/";
}
}