Escaping w/i regular expressions

From: Peter Eisentraut <peter(at)pathwaynet(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Escaping w/i regular expressions
Date: 1999-06-29 23:25:54
Message-ID: Pine.LNX.4.10.9906291922340.30903-100000@uruguay.pathwaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

How do you escape a ' (apostrophe) within a regular expression, so it does
not close off the string? Something like
... ~ '[0-9.,\']'
does not seem to work.
(Pgsql 6.4.2)

Any ideas?

--
Peter Eisentraut
PathWay Computing

Browse pgsql-sql by date

  From Date Subject
Next Message Kyle 1999-06-30 04:11:49 begin/end/abort work for sequences?
Previous Message Hostmaster - Internet au Virtuel Inc. 1999-06-29 20:00:56 User defined functions through ODBC