.
D 2021-08-23T16:04:19.951
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment $\stclsh\r\n%\sregexp\s{^(.)\\1|\\1.}\s\s\s{abcdef}\r\n1\r\n%\sregexp\s{^((.)\\2|..)\\2}\s\s\s\s\s\s\s\s{abadef}\r\n1\r\n\r\nOf\scourse,\sneither\sof\sthese\sshould\smatch,\sbecause\sthe\s(.)\scapture\sis\swithin\sa\sfailed\salternative\sbranch,\r\nso\sthe\slast\sbackref\sto\sit\sshould\sbe\sdeemed\sunable\sto\smatch.\r\n\r\nAnalysis\sand\sfix\sfor\sit\sin\sPostgres\sis\shere:\r\n\r\nhttps://www.postgresql.org/message-id/151435.1629733387%40sss.pgh.pa.us\r\n\r\nI\sdoubt\syou\scan\suse\sthe\scode\schange\sexactly\sas-is,\sbecause\sI\sdon't\sthink\syou\sever\sadopted\sour\schanges\r\nto\screate\san\sexplicit\s"iteration"\ssubre\stype.\s\sBut\sthe\sprinciple,\sand\sparticularly\sthe\smore\scareful\r\nspecification\sof\scdissect's\srecursion\srules,\sshould\sstill\swork\sfor\syou.
J foundin 8.6.8
J is_private 0
J login tgl
J priority 5\sMedium
J private_contact 26864b65f1c6ce8bda86f87ed9c554e19ac0390d
J resolution None
J severity Minor
J status Open
J submitter tgl
J subsystem 43.\sRegexp
J title regexp\ssometimes\sallows\san\sinvalid\sbackref\sto\sbe\smatched
J type Bug
K 75c9d9cece5612408603f4e56773f55ada24b2d7
U tgl
Z 579ff1da8a9e4029d635263c0b1c91ff