vB3 is the version for which it does not work, you can just read the code of the verify function and the issue is evident. No, they do not use both the template cache; you are basically doing a string replace in the template cache in vB3.
-snip-
Since you are using a reference to the function...