Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#320 [PATCH] fix regex callback match count

open
nobody
None
5
2011-10-05
2011-10-05
Nick Treleaven
No

Callback functions added with addCallbackRegex can receive a badly wrong match count, e.g.
(foo)*(bar)
When matching against "bar", the match count should be 2, but CTags passes 0 to the callback. The attached patch fixes this.

This is the same bug as here:
https://sourceforge.net/tracker/index.php?func=detail&aid=2970274&group_id=6556&atid=106556

(I had to duplicate the report to attach a patch).

Discussion