Fix function body matching regex. Add `fabric.util.getFunctionBody`