Re: BUG #3645: regular expression back references seem broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Eric Haszlakiewicz" <erh+pgsql(at)swapsimple(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3645: regular expression back references seem broken
Date: 2007-10-01 15:34:54
Message-ID: 7405.1191252894@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Eric Haszlakiewicz" <erh+pgsql(at)swapsimple(dot)com> writes:
> I would expect this to return false:

> template1=# select 'xyz' ~ E'^(.)\\1*$';
> ?column?
> ----------
> t
> (1 row)

Seems to be a bug in the Tcl regexp library we use. It's already
reported upstream:
https://sourceforge.net/tracker/index.php?func=detail&aid=1115587&group_id=10894&atid=110894

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Heikki Linnakangas 2007-10-01 17:32:31 Re: Question about PostGreSQL
Previous Message Eric Haszlakiewicz 2007-10-01 00:43:49 BUG #3645: regular expression back references seem broken