refactor(edit) onSave isContainStrAtBegin(text, error) -> /^error/.test(text)