settings: fix copypaste error that was overwriting regex_type