Re: Regex pattern with shorter back reference does NOT work as expected

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Regex pattern with shorter back reference does NOT work as expected
Date: 2013-07-18 23:13:32
Message-ID: 11168.1374189212@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com> writes:
>>> Following example does not work as expected:
>>>
>>> -- Should return TRUE but returning FALSE
>>> SELECT 'Programmer' ~ '(\w).*?\1' as t;

For the archives' sake --- I've filed a report about this with the Tcl
crew. They seem to have moved their bugtracker recently; it's no longer
at sourceforge but in their own ticket system. This bug is at

https://core.tcl.tk/tcl/tktview/6585b21ca8fa6f3678d442b97241fdd43dba2ec0

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Indrajit Roychoudhury 2013-07-18 23:46:03 Re: [HACKERS] Fatal error after starting postgres : sys identifiers must be different
Previous Message Greg Smith 2013-07-18 23:01:55 Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)