saving works as intended also removing of regex entries