- This topic has 3 replies, 4 voices, and was last updated 8 years, 2 months ago by .
I am having some issues with getting the matches I want. Or dont want more specifically.
Here is what I am doing.
I have fields that I am adding into a list.
when I echo the list i get:
I then try and run a regexp against them:
lsearch -regexp $list “HI”
This matches due to the “THIS” in the second part of the list. However, I dont want it to. I want it to match only if HI is by itself.
If I take the regexp outside of tcl I can do anchors such as HIb . Then it will only match if the list is
How do I get this regexp to work inside of TCL? Thanks in advance for any help!
- The forum ‘Cloverleaf’ is closed to new topics and replies.