New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex Bug with Tags #655

Closed
RobertNielsen1 opened this Issue Nov 25, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@RobertNielsen1

RobertNielsen1 commented Nov 25, 2017

Without a space between the semicolon and a tag, the semicolon gets parsed as part of the tag name.

@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 25, 2017

Owner

Thanks!

Owner

simonmichael commented Nov 25, 2017

Thanks!

@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael Nov 25, 2017

Owner

Repro:

$ cat a.j
2017/11/01 Gas Station
     Expenses:Travel    $18.03  ;qwe:
     Liabilities:CreditCard

$ make ghci
ghci> import Data.Default
ghci> Right j <- readJournalFilesWithOpts def ["a.j"]
ghci> ptags $ head $ tpostings $ head $ jtxns j
[(";qwe","")]
Owner

simonmichael commented Nov 25, 2017

Repro:

$ cat a.j
2017/11/01 Gas Station
     Expenses:Travel    $18.03  ;qwe:
     Liabilities:CreditCard

$ make ghci
ghci> import Data.Default
ghci> Right j <- readJournalFilesWithOpts def ["a.j"]
ghci> ptags $ head $ tpostings $ head $ jtxns j
[(";qwe","")]
@simonmichael

This comment has been minimized.

Show comment
Hide comment
@simonmichael

simonmichael May 11, 2018

Owner

Resolved by merging your PR (rebased). Thank you very much!

Owner

simonmichael commented May 11, 2018

Resolved by merging your PR (rebased). Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment