AREs in substring(from) - Mailing list pgsql-general

From Brandon Craig Rhodes
Subject AREs in substring(from)
Date
Msg-id vwbrcms6hq.fsf@guinness.ts.gatech.edu
Whole thread Raw
Responses Re: AREs in substring(from)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
As the documentation leads me to expect, my Postgresql 7.4
installation produces:

   select substring('Bar, Foo' FROM '.')  ->  'B'

but even though my regex_flavor = advanced,

   select substring('Bar, Foo' FROM '\\w')  ->  NULL
   select substring('Bar, Foo' FROM '***:\\w')  ->  NULL

whereas I expect these to produce 'B' as well.  What am I missing?

--
Brandon Craig Rhodes                         http://www.rhodesmill.org/brandon
Georgia Tech                                            brandon@oit.gatech.edu

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: valid using INITIALLY DEFERRED
Next
From: Oleg Bartunov
Date:
Subject: Re: PostgreSQL 8.0.0 Release Candidate 2