文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14237/initparams003.htm#i1124422 Using the Escape Character--\ As described in "Rules Governing Initialization Parameter Files", the backslash(
我们都知道replaceAll(regex,String)在进行字符串替换时会首先匹配正则表达式,而replace则没有这方面的规定。转义字符同样属于正则的一种,今天遇到个问题,将sql:“SELECT PARAM1,PARAM2,TO_CHAR(PARAM3,'YYYY-MM-DD HH24:MI:SS') AS P3 FROM TABLE”中的字段部分替换成"PARAM4,PARAM5",我使