happyhua commented on PR #581: URL: https://github.com/apache/tomcat/pull/581#issuecomment-1454685803
A replaceAll -> replace change in for example `java/org/apache/tomcat/buildutil/translate/Utils.java` can produce different output. ``` String source = "1\t2\t3"; System.out.println("source: " + source); System.out.println("replaceAll: " + source.replaceAll("\t", "\\t")); System.out.println("replace: " + source.replace("\t", "\\t")); ``` ``` source: 1 2 3 replaceAll: 1t2t3 replace: 1\t2\t3 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org