On Nov 16, 2007, at 2:01 PM, Mathieu Bouchard wrote:
On Fri, 16 Nov 2007, Hans-Christoph Steiner wrote:
yeah, that's a known bug throughout Pd. I wonder if you send {} whether that works? Is it only an unmatched { that causes the problem? I suppose the text widget should filter those out then.
If you backslash them then Tcl will recognise them. The lock-up
problem is that Tcl is waiting forever to get a matching close- brace. Backslashes "literalise" those characters. Backslashes
themselves can be literalised too.
So... anyone want to write a regexp that escapes any unclosed
brackets? That would be a tricky one... but very useful for Pd.
.hc
All information should be free. - the hacker ethic