mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-18 17:57:11 +03:00
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
|
||||
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 = try (do
|
||||
|
Loading…
Reference in New Issue
Block a user