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

List of match wrong, I think. #12

Open
lushijie opened this issue Jan 9, 2017 · 0 comments
Open

List of match wrong, I think. #12

lushijie opened this issue Jan 9, 2017 · 0 comments

Comments

@lushijie
Copy link

lushijie commented Jan 9, 2017

var gitignore = parser.compile('/ajax/libs/bPopup/*b*');
console.log(gitignore.accepts('/ajax/libs/bPopup/0.9.0'));  //output false

var gitignore = parser.compile('/ajax/libs/jquery-form-validator/2.2');
console.log(gitignore.accepts('/ajax/libs/jquery-form-validator/2.2.43')); //output false


var gitignore = parser.compile('/ajax/libs/punycode/2.0');
console.log(gitignore.accepts('/ajax/libs/punycode/2.0.0')); //output false


var gitignore = parser.compile('/ajax/libs/typescript/*dev*');
console.log(gitignore.accepts('/ajax/libs/typescript/2.0.6-insiders.20161014')); //output false

GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
GerHobbelt added a commit to GerHobbelt/gitignore-parser that referenced this issue Jul 6, 2020
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

No branches or pull requests

1 participant