IsRegexToken
if (IsRegexToken(*str)) ret += '\\';
if (IsRegexToken(*str)) return true;
bool IsRegexToken(char c);