Found a minor bug - I think - in TCL.. Specifically, regexp can't seem to store a match into an entry text variable. IE
set entryspace "Initial"
entry .e -textvar entryspace
set head "Line header:"
set inline "Line header: entry"
set yap [regexp "$head ?(.*)$" $inline match entryspace]
does not work. It blows up as soon as you try to do the regexp. If you put in an intermediate variable, then set "entryspace" explicitly, it works fine..
Prolly no-one but me will ever run into this, and spend a whack of time trying to figure out why this harmless regexp causes this insane memory fault error.. But hey.
Is there an official place to submit bug reports to?
set entryspace "Initial"
entry .e -textvar entryspace
set head "Line header:"
set inline "Line header: entry"
set yap [regexp "$head ?(.*)$" $inline match entryspace]
does not work. It blows up as soon as you try to do the regexp. If you put in an intermediate variable, then set "entryspace" explicitly, it works fine..
Prolly no-one but me will ever run into this, and spend a whack of time trying to figure out why this harmless regexp causes this insane memory fault error.. But hey.
Is there an official place to submit bug reports to?