Fix regex callback match count

https://sourceforge.net/p/ctags/bugs/271/