From: spmpro@pochta.ru
To: pgsql-bugs@postgresql.org
Subject: BUG #8679: Error in regex function
Date: Fri, 13 Dec 2013 08:12:51 +0000
Message-ID: <E1VrNrf-0001cE-4P@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 8679
Logged by: Andrzej
Email address: spmpro@pochta.ru
PostgreSQL version: 9.2.0
Operating system: Ubuntu
Description:
Hi, I make command select regexp_replace('rewqe ','(?<=[q]{1})[e]{1}(?=[\-
$]+)','11');
and he return error 'invalid regular expression: quantifier operand
invalid', but regex is correct (check by http://gskinner.com/RegExr/). This
error repeat in another regex function (regexp_matches,
regexp_split_to_array).
But command select regexp_replace('rewqe ','[e]{1}(?=[\- $]+)','11') work
good. May be, regex construction (?<=\pattern\) is not support?
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: spmpro@pochta.ru
Subject: Re: BUG #8679: Error in regex function
In-Reply-To: <E1VrNrf-0001cE-4P@wrigleys.postgresql.org>
References: <E1VrNrf-0001cE-4P@wrigleys.postgresql.org>
* 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