We are using the regexp tag library in our jsp's. Yes, it worked fine with Tomcat 4. The rest of the application is working fine. Users just started noticing that where they are putting apostrophes and saving, when they bring the information back up it shows as $1. "Mary's purse" is being brought into the application as "Mary$1s purse". It is like it isn't interpreting the meaning of the $1 anymore.
Karl -----Original Message----- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 11:57 AM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]