Skip to content
Tcl Source Code Artifact [1e142808a1]
Login

Artifact [1e142808a1]

Artifact 1e142808a118f5d49bc7112ab196d6ee28e56d00:

Ticket change [1e142808a1] - New ticket [578363ffffffffff|578363ffff] <i>[:xdigit:] makes RE to behave strange</i>. by pvgoran on 2002-07-07 14:31:56.
D 2002-07-07T14:31:56
J assignee nobody
J cmimetype text/plain
J comment Tcl\sVersion:\s8.4a3\n\nPlatform:\sWindows\n\nCode\s\nsample:\nset\sstr\s{2:::DebugWin32}\nset\sre\s\n{([[:xdigit:]])([[:space:]]*)}\nputs\s"[regexp\s$re\s$str\smatch\sxdigit\s\nspaces]"\nputs\s"match=$match"\nputs\s\n"xdigit=$xdigit"\nputs\s"spaces=$spaces"\n\nThis\s\ngives:\n1\nmatch=2:::DebugWin32\nxdigit=2\nspaces=:::DebugWin32\n\nObserved\s\nbehaviour:\s"spaces=:::DebugWin32"\n\nDesired\sbehaviour:\s\n"spaces="\n\nComment:\nIt\slooks\slike\sthe\s[[:xdigit:]]\s\nbracket\sexpression\scauses\sthe\s[[:space:]]\sbracket\sexpression\sto\s\nmatch\sany\ssymbol.\n\nIf\s[[:xdigit:]]\sis\sreplaced,\sfor\sexample,\s\nby\s[[:digit:]],\sor\s[[:space:]]\sis\sreplaced\sby\s[[:alpha:]],\sall\sis\sgoing\s\nright.\s(Initially,\sI\snoticed\sthis\sproblem\swith\s\\s\sinstead\sof\s\n[[:space:]].)\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter pvgoran
J subsystem 43.\sRegexp
J title [:xdigit:]\smakes\sRE\sto\sbehave\sstrange
J type Bug
K 578363ffffffffffffffffffffffffffffffffff
U pvgoran
Z 789668d2c55f67645be52305e4800835