"H.J. Lu" <hjl.to...@gmail.com> writes: >> > append function_regexp ")" >> > } elseif { [string equal $line "..."] } { >> > append function_regexp ".*" >> > + } elseif { [regexp "^.L.*" $line] } { >> >> {^\.L} would be more precise than "^.L.*". > > I tried {^\.L}. It didn't work. I used "^.L" in v3.
Why didn't it work though? "^.L.*" matches "ALL" as well as ".L". Richard