allow / and _ in account names
This commit is contained in:
parent
7505adf04f
commit
6f5fdc3564
2
Parse.hs
2
Parse.hs
@ -219,7 +219,7 @@ ledgertransaction = do
|
|||||||
|
|
||||||
-- account names may have single spaces in them, and are terminated by two or more spaces
|
-- account names may have single spaces in them, and are terminated by two or more spaces
|
||||||
ledgeraccount :: Parser String
|
ledgeraccount :: Parser String
|
||||||
ledgeraccount = many1 (alphaNum <|> char ':' <|> try (do {spacenonewline; do {notFollowedBy spacenonewline; return ' '}}))
|
ledgeraccount = many1 (alphaNum <|> char ':' <|> char '/' <|> char '_' <|> try (do {spacenonewline; do {notFollowedBy spacenonewline; return ' '}}))
|
||||||
|
|
||||||
ledgeramount :: Parser Amount
|
ledgeramount :: Parser Amount
|
||||||
ledgeramount = try (do
|
ledgeramount = try (do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user