Re: regexp_match() returning text

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, <emre(at)hasegeli(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: regexp_match() returning text
Date: 2016-06-03 07:11:36
Message-ID: bc5602b0-3b28-a693-dfb8-021ef27652f7@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 5/30/16 1:01 PM, Andrew Gierth wrote:
> Returning an array containing the values of all capture groups might be
> more useful (substring returns the value of the first capture group if
> any, otherwise the matched string).

+1.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2016-06-03 07:17:58 Re: Prepared statements and generic plans
Previous Message Albe Laurenz 2016-06-03 06:43:40 Re: Rename max_parallel_degree?