db: restore() repairing DB with doubled quotation marks: use extended regexp, otherwise we always try to repair the DB