Artifact f9d87879fc7c2258de0ce84c6feb1c5233e31680:
- File tests/pkg/magicchar.tcl — part of check-in [a5e724fd20] at 2000-01-28 16:38:34 on branch trunk — * tests/pkg/magicchar.tcl: * tests/autoMkindex.test: Test for fix for bug #2611. * library/auto.tcl: Fixed the regular expression that performs $ escaping before sourcing a file to index. It was erroneously adding \ escapes even to $'s that were already escaped, effectively "un-escaping" those $'s. (bug #2611). (user: ericm, size: 361) [annotate] [blame] [check-ins using]
set dollar1 "this string contains an unescaped dollar sign -> \\$foo" set dollar2 "this string contains an escaped dollar sign -> \$foo \\\$foo" set bracket1 "this contains an unescaped bracket [NoSuchProc]" set bracket2 "this contains an escaped bracket \[NoSuchProc\]" set bracket3 "this contains nested unescaped brackets [[NoSuchProc]]" proc testProc {} {}