Verify "function" is not present in regstring

Just to be safe (we still run registeranim in a sandbox too)