Overview
| Artifact ID: | c598e1a89eaf320074213d6d2ddc2d6905c5eb40 |
|---|---|
| Ticket: | 817048ffffffffffffffffffffffffffffffffff
Backslashes inside curly braces |
| User & Date: | dgp on 2003-10-05 01:54:53 |
Changes
- icomment:
Logged In: YES user_id=80530 Just to clarify, there's no limit on your ability to construct a string in Tcl that ends in an odd number of backslashes. You just can't brace-quote such a string. (Because it would escape the closing } ) You also can't ""-quote such a string for the same reason. So in this corner case, you're stuck either using all \-quoting or, more likely, using substitution to generate the string you need. set bs \\ set myString "foo bar$bs"
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"