Re: RegExp issues with Tomcat 5

2004-03-03 Thread Christopher Schultz
Karl, Using the regexp tag library I think it is still at version 1.0. Because INSERT into tablename (field1) values ('I CAN'T DO THIS') generates an error in SQL Server. If you use a PreparedStatement, then you can send any string to the statement object and it will do it's own escaping. -chris

RE: RegExp issues with Tomcat 5

2004-03-03 Thread Slavik Markovich
04 10:01 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 Either. I'll look at the java.util.regex one. I posted at taglib-user earlier and still waiting for response. Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, Marc

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Either. I'll look at the java.util.regex one. I posted at taglib-user earlier and still waiting for response. Thanks again. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 2:52 PM To: Tomcat Users List Subject: RE: RegExp issues with T

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
Hi, >Is there a regexp library people recommend? I saw there is one on the >Jakarta site. Library in general or JSP tag library specifically? I've been fine with java.util.regex, which I think requires JDK 1.4. If you must use a JDK older than 1.4, use jakarta-regexp (which tomcat uses). For

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Is there a regexp library people recommend? I saw there is one on the Jakarta site. Karl -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:14 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 Hi, >Using the regexp

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
Thanks a lot. I will check into it further. -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 1:14 PM To: Tomcat Users List Subject: RE: RegExp issues with Tomcat 5 Hi, >Using the regexp tag library I think it is still at version

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
Hi, >Using the regexp tag library I think it is still at version 1.0. You mean http://jakarta.apache.org/taglibs/doc/regexp-doc/intro.html? I wouldn't be surprised if this taglib didn't work on tomcat 5. It's designed and tested for a JSP 1.1/1.2 spec container, like tomcat 4. Tomcat 5 as you

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
004 12:03 PM To: Tomcat Users List Subject: Re: RegExp issues with Tomcat 5 Karl, > 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

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
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

Re: RegExp issues with Tomcat 5

2004-03-02 Thread Christopher Schultz
Karl, 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 re

RE: RegExp issues with Tomcat 5

2004-03-02 Thread Shapira, Yoav
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,

RegExp issues with Tomcat 5

2004-03-02 Thread Karl Coleman
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 replacin