-
Notifications
You must be signed in to change notification settings - Fork 623
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
Fix regex callback match count #104
Conversation
Thank you. Could you prepare a unit test case which triggers unwanted result if a user runs ctags without your patch? I'm happy if you update docs/f-tracking.rst, too. |
@masatake I'm afraid there's no current parser in CTags that use So, what I'm saying is it's hard to check a feature that is not used by a parser with the current suite. Whether the fact it's not used means it should be removed I'm not completely sure, because it's a way of doing a bit more than with plain regexes without a complete "real" parser. |
1ef229b
to
dcb9595
Compare
As Colomban said, its not clear how to do that. I understand it should be tested somehow though.
Now done, let me know if you want any changes to my wording. I also added a commit with more info about parser changes I could think of. |
I wonder if this bug is partly to blame for why no parsers use |
dcb9595
to
940d21c
Compare
Sorry, my words are wrong. I wanted you to write about both https://sourceforge.net/p/ctags/bugs/271/ in bugs subsection of exuberant-ctags section docs/f-tracking.rst. |
@b4n, thank you for input. I would like to keep the code even if it is used now. |
Now done. |
Thank you. |
See:
https://sourceforge.net/p/ctags/bugs/271/
https://sourceforge.net/p/ctags/bugs/320/
Note: This fix is from Geany. Copying @b4n.