perl -pi .bak -e 's/function getDBBackend\(\)\n\{\n+.*\n*}.*\n/function getDBBackend()\n{\n\/\/ DB backend not applicable, use test backend\n}\n/mg'