Skip to content
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

Invalid regular expression #40

Closed
duog opened this issue May 12, 2020 · 1 comment · Fixed by #41
Closed

Invalid regular expression #40

duog opened this issue May 12, 2020 · 1 comment · Fixed by #41

Comments

@duog
Copy link
Contributor

duog commented May 12, 2020

Hi,
I've run into a problem with a .gitignore including the line:

*- [Bb]ackup ([0-9]).rdl

(I believe this comes from some boilerplate generated by visual studio)

Running gitignoreSource on this .gitignore gives

error: invalid regular expression '(^|.*/)[^/]*- [Bb]ackup ([0-9]\)\.rdl', at /nix/store/an98s6751qmwp25jzdzna5bsnz77cgrr-source/rules.nix:50:37

reproduction here: https://github.com/duog/gitignore.nix-testcase

roberth added a commit that referenced this issue May 12, 2020
@roberth
Copy link
Member

roberth commented May 12, 2020

Fixed it. Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants