Invalid regular expression for the gitignore pattern `*.*\~`
Opened this issue · 3 comments
soareschen commented
When I have *.*\~
as an entry in .gitignore
, The library produces the following error:
error: invalid regular expression '(^|.*/)[^/]*\.[^/]*\~'
This has been tested on the latest commit of gitignore.nix on master.
roberth commented
roberth commented
I don't think you need the \
before ~
.
soareschen commented
I am using a pinned version of gitignore.nix directly, so it should be in latest version already. Specifically, commit c4662e662462e7bf3c2a968483478a665d00e717
.
Anyway this is not a big issue, as I simply removed the offending line in .gitignore
. I just thought of reporting this issue so that you can be made aware of this.