reftex-index-verify-function is a variable defined in `reftex-vars.el'.
Its value is
nil
This variable may be risky if used as a file-local variable.
Documentation:
A function which is called at each match during global indexing.
If the function returns nil, the current match is skipped.
You can customize this variable.