> On Aug 5, 2021, at 3:15 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> I don't immediately see what's different about your failing case
> versus the not-failing ones.
I have now found lots of cases of this failure. I *believe* the backreference is always greater than 1, and it is
alwaysin a capture group which then has the {0} or {0,0} applied to it.
You can find lots of cases using the attached regex generating script I whipped up for testing your work. (Note this
isjust a quick and dirty tool for hacking, not anything refined.)
—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company