Re: Generic regex escape function?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "Jon Asher" <jon(at)vagabond-software(dot)com>
Cc: sfpug(at)postgresql(dot)org
Subject: Re: Generic regex escape function?
Date: 2004-11-17 05:12:29
Message-ID: 200411162112.29294.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: sfpug

Jon,

Thanks for the advice. Actually, as it turns out, I can take advantage of
some of the escape codes supported by the tri-mode regex support in postgres.
If I pass:

'***=<some-user-string>'

Then <some-user-string> will be interpreted as literal characters with no
regex special chars.

--
Josh Berkus
Aglio Database Solutions
San Francisco

Responses

Browse sfpug by date

  From Date Subject
Next Message David Wheeler 2004-11-17 18:38:44 Re: Generic regex escape function?
Previous Message Sean Chittenden 2004-11-16 21:10:18 pgmemcache, slides, download available...