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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse sfpug by date

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