pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Rijkers <er@xs4all.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: spmpro@pochta.ru
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8679: Error in regex function
Date: Fri, 13 Dec 2013 18:53:58 +0100
Message-ID: <1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <24994.1386956430@sss.pgh.pa.us>
References: <E1VrNrf-0001cE-4P@wrigleys.postgresql.org>
	<24994.1386956430@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Fri, December 13, 2013 18:40, Tom Lane wrote:
> spmpro@pochta.ru writes:
>> May be, regex construction (?<=\pattern\) is not support?
>
> It is not.  What we support is documented at
> http://www.postgresql.org/docs/9.2/static/functions-matching.html#FUNCTIONS-POSIX-REGEXP
>
> I have no idea what "(?<=" is supposed to mean --- it's not a standard

FWIW, perl has these; see http://perldoc.perl.org/perlre.html (search for "Look-Around Assertions" ):

   (?<=pattern)   A zero-width positive look-behind assertion

   (?<!pattern)   A zero-width negative look-behind assertion.


It would certainly be nice if these would implemented in postgres...






-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (3+ messages)

Message-ID: <1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl>
Permalink:  ../1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl/
Also on:    postgresql.org/message-id/1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: er@xs4all.nl, tgl@sss.pgh.pa.us, spmpro@pochta.ru
  Subject: Re: BUG #8679: Error in regex function
  In-Reply-To: <1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl>
  References: <E1VrNrf-0001cE-4P@wrigleys.postgresql.org> <24994.1386956430@sss.pgh.pa.us> <1e4f6c4f59006753c3e00b77b9481147.squirrel@webmail.xs4all.nl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox