Fix editing regex

It would still be an Edit when get_text was called