tcl lsearch can't get something like this a\[1\]

Viewed 268

I have a lsearch issue.

here is my code.

set aa 11
lappend aa a\[1\]
lsearch $aa a\[1\]

why doesn't it work?

1 Answers
Related