Re: back references using regex

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Matthew Peter <survivedsushi(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: back references using regex
Date: 2005-09-08 22:06:35
Message-ID: 20050908220635.GB16859@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Sep 08, 2005 at 01:52:35PM -0700, Matthew Peter wrote:

> What I basically want to do is have a slice function
> like Python, where I can slice out items from a \s, \.
> or \n\n separated list. Where I'll just change the
> delimiter for the query that it applies.

There is a function for some sort of text slicing, though I'm not sure
if it does what you want. It's called split_part(). Have a look at the
documentation.

--
Alvaro Herrera -- Valdivia, Chile Architect, www.EnterpriseDB.com
"Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2005-09-08 22:28:32 Re: EMS PostgreSQL Manager vs. TheKompany DataArchitect
Previous Message Michael Schmidt 2005-09-08 20:55:34 Re: EMS PostgreSQL Manager vs. TheKompany DataArchitect