FS#2722 add settings_regex class, use it for hidepages