-
-
Notifications
You must be signed in to change notification settings - Fork 388
1.42: & in CSV if rules broke #2352
Copy link
Copy link
Closed
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects4-manyAffects potentially a significant number of users.Affects potentially a significant number of users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..csvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.docsDocumentation-related.Documentation-related.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
Metadata
Metadata
Assignees
Labels
A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.Something wrong, confusing or sub-standard in the software, docs, or user experience.affects4-manyAffects potentially a significant number of users.Affects potentially a significant number of users.annoyance4-majorMajor usability/doc bug, or any regression or crash.Major usability/doc bug, or any regression or crash.bountyThar's some kind o' loot on offer..Thar's some kind o' loot on offer..csvThe csv file format, csv output format, or generally CSV-related.The csv file format, csv output format, or generally CSV-related.docsDocumentation-related.Documentation-related.regressionA backwards step, indicating a weakness in our QA. We don't like these.A backwards step, indicating a weakness in our QA. We don't like these.
&in the regex expression of an if block raises error on CSV import unless the&is followed by a conditional block. Escaping with backslashes or enclosing&in a regex group expression (e.g.,[ \&]*) has no effect.Example CSV rule file
Error Output
I'm using hledger-flow import and hledger 1.42, mac-aarch64. I did not have this error prior to 1.42.