| From: | David Gagnon <dgagnon(at)siunik(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)postgresql(dot)org |
| Subject: | OT ? - Validating POSIX Regular Expression in Java |
| Date: | 2004-11-04 15:13:27 |
| Message-ID: | 418A4717.3000202@siunik.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Hi all,
I know it's not directly the purpose of this list, so I apologize, but
I think you guys are the ones who can help me :-)
My web site offers a search which supports regular expression (POSIX).
I'm looking for a way to validate the regular expression in the
application before sending it the the DB. For now Postgresql throwing
an error on invalid regular expression.
I tried with the gnu-regexp frameworks, It works partly but it's not
full proof since an invalid caracter class like [[:awefaewf:]]* is not
flagged as an error but causes an error with Postgresql.
Any help on this matter will be appreciated. I'm sure it's a common
problem and have been addressed before ... I searched but haven't found
the answer yet.
Thanks for your help
/David
I
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kris Jurka | 2004-11-04 15:40:44 | Re: OT - Validating Regular Expression in java |
| Previous Message | David Gagnon | 2004-11-04 15:07:29 | OT - Validating Regular Expression in java |