Re: patch adding new regexp functions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: David Fetter <david(at)fetter(dot)org>
Cc: Jeremy Drake <pgsql(at)jdrake(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>, Neil Conway <neilc(at)samurai(dot)com>
Subject: Re: patch adding new regexp functions
Date: 2007-02-16 16:54:47
Message-ID: 200702161754.49301.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Am Freitag, 16. Februar 2007 17:11 schrieb David Fetter:
> > As for the regexp_matches() function, it seems to me that it returns
> > too much information at once. What is the use case for getting all
> > of prematch, fullmatch, matches, and postmatch in one call?
>
> If not in one call, how would you get it? Perl, for example, makes
> these available to any regex match in the form of variables it sets.

The question is, what is the use case? If there is one in Perl, can this
proposed function API support it?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-02-16 17:21:25 Re: Mail getting through? Short varlena headers
Previous Message Zeugswetter Andreas ADI SD 2007-02-16 16:41:32 Re: HOT for PostgreSQL 8.3

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2007-02-16 17:17:25 Re: [GENERAL] ISO week dates
Previous Message Bruce Momjian 2007-02-16 16:31:07 Re: [GENERAL] ISO week dates