This is something in your database.
Reinstalling files won’t help, unless this is a bug but as you wrote, it was working.
My best guess is that you’ve entered in a field something unexpected (the regexp value ?) and it causing the error. You should try to edit the database (phpmyadmin or any other software) delete the value and check again.