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

"Entry never used" is wrong #213

Closed
mnpenner opened this issue Apr 5, 2016 · 1 comment
Closed

"Entry never used" is wrong #213

mnpenner opened this issue Apr 5, 2016 · 1 comment
Labels
Milestone

Comments

@mnpenner
Copy link

mnpenner commented Apr 5, 2016

screenshot from 2016-04-05 10-40-25

I think your regex parser is struggling with the negative look-behind. I definitely have some dot files in my project, and I can see that the regex is successfully ignoring them.

(?<![^/])\.

This regex says: "periods not preceded by something other than a forward slash".

@hsz hsz added the bug label May 7, 2016
@hsz hsz added this to the 1.3.4 milestone May 7, 2016
@hsz hsz closed this as completed in 7b3db2e May 17, 2016
@hsz
Copy link
Member

hsz commented May 17, 2016

@mnpenner Thanks for reporting. The problem was that I've tested entries with match() instead of find() - since Mercurial matches entries even with partial regexp it wasn't working.

Fix will be available in the next release.

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

No branches or pull requests

2 participants