Skip to content
Tcl Source Code Artifact [4157eba7f4]
Login

Artifact [4157eba7f4]

Artifact 4157eba7f4851be40d415fe8cd2a7aa351a4c3d2:

Ticket change [4157eba7f4] - New ticket [1366683fffffffff|1366683fff] <i>lsearch -regexp does not support regexp&#39;s w/backreferences</i>. by cleverly on 2005-11-26 01:04:29.
D 2005-11-26T01:04:29
J assignee dkf
J cmimetype text/plain
J comment %\sinfo\spatchlevel\n8.4.11\n%\sregexp\s{^.(.)\\1.$}\s1220\n1\n%\slsearch\s-regexp\s{1200\s1210\s1220\s1230\s1240\s1250}\n{^.(.)\\1.$}\ncouldn't\scompile\sregular\sexpression\spattern:\sinvalid\nbackreference\snumber\n\nOn\sthe\schat\sJeff\sHobbs\spointed\sout\sthat\sit\sis\sbecause\n[lsearch\s-regexp]\scompiles\sthe\sregular\sexpression\swith\nthe\sTCL_REG_NOSUB\sflag\sset\s(which\sinhibits\scapturing\nparenthesis\swhich\sbackreferences\srequire).\s\sSimply\sfix\n\sis\sto\sremove\sthe\sTCL_REG_NOSUB\sflag?\n\nI\sthink\sthat\s[lsearch\s-regexp]\sshould\ssupport\sregexp's\nwith\sbackreferences,\sor,\sat\sthe\sleast,\sthe\sman\spage\nupdated\swith\sthe\scaveat\sthat\sit\sdoesn't\ssupport\nbackreferences\s(and\sa\sbetter\serror\smessage).
J foundin obsolete:\s8.4.11
J priority 5\sMedium
J resolution None
J status Open
J submitter cleverly
J subsystem 17.\sCommands\sI-L
J title lsearch\s-regexp\sdoes\snot\ssupport\sregexp's\sw/backreferences
J type Bug
K 1366683fffffffffffffffffffffffffffffffff
U cleverly
Z cc97307f2bd0e5c67afb42c3b5dad9b8