Using a better regexp to find the call frame.
A cleaner implementation of the instance_eval sandbox.