void ReMatchErrorMessage(const RegExp& re) { if (re.LastError() != errNone) { Message(MSG_WARNING | MSG_LEFTALIGN, MSG(MError), make_vector(GetReErrorString(re.LastError())), make_vector<string>(MSG(MOk))); } }
void ReCompileErrorMessage(const RegExp& re, const string& str) { Message(MSG_WARNING | MSG_LEFTALIGN, MSG(MError), make_vector(GetReErrorString(re.LastError()), str, string(re.ErrorPosition(), L' ') + L'^'), make_vector<string>(MSG(MOk))); }