diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:10:54 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-04 16:10:54 -0400 |
commit | 966b231f23a0c74db105784ba1291c860ced483e (patch) | |
tree | b776c8087af94cbe725330069a26de562b982a37 /main.cc | |
parent | fb85292b553010f931f8325f500fb928ffd55227 (diff) | |
download | fork-ledger-966b231f23a0c74db105784ba1291c860ced483e.tar.gz fork-ledger-966b231f23a0c74db105784ba1291c860ced483e.tar.bz2 fork-ledger-966b231f23a0c74db105784ba1291c860ced483e.zip |
When doing a command-line tag search, search for :tag:, not just tag.
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 += "/"; } } |