Hi, >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.
So..... What are you suggesting? ;) The jakarta-regexp that tomcat uses to handle regular expressions has not changed since September 2003, so many of the tomcat 4.1.x releases have used it. Did you use these tomcat 4 releases without a problem? Alternatively, if you're referring to regexps directly used in your application, and you're using JDK regexps (the java.util.regex package), obviously tomcat has nothing to do with that. Is the rest of your webapp functioning properly in tomcat5, or are there other errors that perhaps make this regexp one come up? Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
