Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

sfpug by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group