Re: Regular expression that splits CSV string into table

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Nick <nboutelier(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Regular expression that splits CSV string into table
Date: 2010-09-11 01:03:43
Message-ID: 1284166959-sup-7512@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excerpts from Nick's message of vie sep 10 20:36:24 -0400 2010:
> Yes, that gets down to the root of my question... what is the
> expression that would properly split the values? -Nick

The only idea that comes to mind right now is to remove them before
processing the rest of the string, and put them back to the first and
last element if they were removed.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nick 2010-09-11 01:11:40 Re: Regular expression that splits CSV string into table
Previous Message Nick 2010-09-11 00:36:24 Re: Regular expression that splits CSV string into table