.
D 2008-02-26T19:17:27
J assignee pvgoran
J cmimetype text/plain
J comment Blackslashing\sthe\s*\squantifier\sseems\sbroken\sin\sTcl\s8.5.\sThe\sdocumentation\ssays\sthat\s"\\k\smatches\sthe\snon-alphanumeric\scharacter\sk\staken\sas\san\sordinary\scharacter,\se.g.\s\\\\\smatches\sa\sbackslash\scharacter".\sSo\s\\*\sis\ssupposed\sto\smatch\s*\sliterally,\sbut\sit\sdoes\snot\sin\sTcl\s8.5.\sIn\sTcl\s8.4,\sit\sworks\sas\sexpected.\n\nTcl\s8.5:\n\n\s\sset\stext\s{this\sis\s*bold*!}\n\s\sthis\sis\s*bold*!\n\s\s%\sregexp\s{\\*bold\\*}\s$text\n\s\s0\n\s\s%\sset\s::tcl_patchLevel\n\s\s8.5.1\n\nTcl\s8.4:\n\n\s\s%\sset\stext\s{this\sis\s*bold*!}\n\s\sthis\sis\s*bold*!\n\s\s%\sregexp\s{\\*bold\\*}\s$text\n\s\s1\n\s\s%\sset\s::tcl_patchLevel\n\s\s8.4.13\n\n\nBest\sregards\n-gustaf\sneumann\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter gneumann
J subsystem 43.\sRegexp
J title regexp\swith\sescaped\squantifier\sbroken
J type Bug
K 1902436fffffffffffffffffffffffffffffffff
U gneumann
Z 1dda353c07aa2f628623607e8b46ad9d