Re: Needs help with regsub.
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Needs help with regsub.

From: Don Porter <dgp@email.nist.gov>
Date: Tue Jun 28 2005 - 22:08:43 CEST

Helene Day wrote:
> when any strings terminates by \} ..... then I get an error such as missing
> brace..

A message like "missing close brace" indicates a programming error
on your part, and you should uncover and fix that rather than try
to mask the symptoms with string massaging.

"missing close brace" shows up when you ask Tcl to either evaluate
as script something that has invalid syntax, or ask Tcl to treat as
a list some string that is not a valid list value. Don't do that.

-- 
| Don Porter          Mathematical and Computational Sciences Division |
| donald.porter@nist.gov             Information Technology Laboratory |
| http://math.nist.gov/~DPorter/                                  NIST |
|______________________________________________________________________|
Received on Thu Sep 29 14:23:28 2005