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

Generic regex escape function?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: <sfpug(at)postgresql(dot)org>
Subject: Generic regex escape function?
Date: 2004-11-15 21:43:32
Message-ID: 200411151343.32789.josh@agliodbs.com (view raw or flat)
Thread:
Lists: sfpug
Folks,

Does anyone know if there's a generic function in PG (or even in Perl) to 
escape a string in case it has regex-special characters in it?

-- 
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

sfpug by date

Next:From: Craig AddlemanDate: 2004-11-15 21:44:46
Subject: Re: Hey! RSVP for Monday?
Previous:From: Josh BerkusDate: 2004-11-15 18:07:51
Subject: Quick Reminder: Casa Donde, Food

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