AREs in substring(from)

From: Brandon Craig Rhodes <brandon(at)oit(dot)gatech(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: AREs in substring(from)
Date: 2004-12-22 15:22:09
Message-ID: vwbrcms6hq.fsf@guinness.ts.gatech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)oit(dot)gatech(dot)edu

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2004-12-22 15:24:31 Re: PostgreSQL 8.0.0 Release Candidate 2
Previous Message Pavel Stehule 2004-12-22 15:17:29 valid using INITIALLY DEFERRED