..F....... [ZBX-7459] fixed saving and editing of regular expression having trailing, leading, or repeating spaces