viewScript = Regex.Replace(viewScript, "left(", "substr(", RegexOptions.IgnoreCase);
因为有(,所以提示分析不足。怎么能替换?
------解决方案--------------------------------------------------------
viewScript = Regex.Replace(viewScript, Regex.Escape("left("), "substr(", RegexOptions.IgnoreCase);