Re: Regular expression. How to disable ALL meta-character - Mailing list pgsql-general

From David Gagnon
Subject Re: Regular expression. How to disable ALL meta-character
Date
Msg-id 426699F1.9020008@siunik.com
Whole thread Raw
In response to Re: Regular expression. How to disable ALL  (Scott Marlowe <smarlowe@g2switchworks.com>)
Responses Re: Regular expression. How to disable
List pgsql-general
Hi Scott,


>I would generally scrub the input before it go to postgresql.  Basically
>do a simple string_replace type function that replaces anything that
>ISN'T alphanum with nothing.
>
>
>
If I change the original string the user may not get what he expects as
result.  abc[d]  is not the samething than abcd...  am I right?

Thanks for your help
/David

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Regular expression. How to disable ALL
Next
From: Scott Marlowe
Date:
Subject: Re: Regular expression. How to disable