From f480f37a847100d351a970a1b83a86d9eeccbcc7 Mon Sep 17 00:00:00 2001 From: Gwyneth Morgan Date: Tue, 12 Sep 2023 19:50:24 +0000 Subject: Fix =regex note query syntax The manpage documents `=regex` as equivalent to the `note regex` query syntax, but the former does not actually work as the parser only handles an equals sign in the case of `tag type=dining` syntax, and doesn't handle the case where an equals sign starts a note query. Fixing this does break queries like `tag type = dining` with spaces around the equals sign, but that syntax was not intended or documented. Closes: #2275 --- test/regress/1182_2.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/regress/1182_2.test') diff --git a/test/regress/1182_2.test b/test/regress/1182_2.test index d3c88dd8..6c018e94 100644 --- a/test/regress/1182_2.test +++ b/test/regress/1182_2.test @@ -13,5 +13,5 @@ __ERROR__ While parsing file "$FILE", line 5: While parsing automated transaction: > ============ -Error: Expected predicate after '=' +Error: note operator not followed by argument end test -- cgit v1.2.3