We upgraded tomcat running one of our applications from 4 to 5 this past = Friday, March 27th. Since, one of our regular expressions is not = functioning properly. Here is the expression:
s/(\\|')/\\$1/g
Instead of escaping the apostrophe with another apostrophe for SQL = purposes, it is replacing the apostrophe with the literal '$1'. It was = working with Tomcat 4 and that is the only thing that has changed.
What regex library are you using? Tomcat shouldn't have anything in it that would affect your regexs.
Not to open up too big of a can of worms, but if you're using JDBC, why do you have to escape your own SQL statements?
-chris
signature.asc
Description: OpenPGP digital signature
