error in string match?
Posted to
tcl
by miguel at Tue May 31 13:19:58 GMT 2011
view raw
%
set
x {^" \"}
^" \"
%
set
y
$x
|foo
^" \"|foo
%
string
match
$x
*
$y
0
%
string
map [
list
$x
{}]
$y
|foo
Comments
Posted by miguel at Tue May 31 13:26:14 GMT 2011
[text]
[code]
Just being stupid: \ is special in patterns ...
Just being stupid: \ is special in patterns ...
Recent Posts
tcl by oldlaptop
7 days ago
tcl by mookie
9 days ago
tcl by mookie
10 days ago
tcl by mookie
10 days ago
tcl by mookie
10 days ago
junk by bcharder
50 days ago
tcl by egavilan
59 days ago
tcl by Stu
61 days ago
tcl by Stu
61 days ago
tcl by oldlaptop
94 days ago
Submit
New paste
Documentation
From Jabber
Comments
Posted by miguel at Tue May 31 13:26:14 GMT 2011 [text] [code]
Just being stupid: \ is special in patterns ...