Hey guys, im having problems with my regexp, it should technically work, but it refuses to, so ill give you what i have and see if anyone can spot my mistake/s for me
You need to escape the = and >, you need to use () around the portion you want to capture into a var, and you need to use a "fullmatchvar" and "specific-match-var" (eg, hostname).. I assumed you wanted the entire string after => and so I used a newline \n to delimit the end point.
Check the manpage for re_syntax and regexp that comes with tcl for more details.