Tcl Source Code

View Ticket
Login
Ticket UUID: 667558
Title: replace regsub with string map
Type: RFE Version: None
Submitter: davidw Created on: 2003-01-14 03:45:34
Subsystem: 38. Init - Library - Autoload Assigned To: dgp
Priority: 2 Severity:
Status: Closed Last Modified: 2003-03-20 05:10:39
Resolution: Accepted Closed By: dgp
    Closed on: 2003-03-19 22:10:39
Description:
I don't know where the best place to file this is (or
the regexp one), because the patches span multiple
sections.

In any case, I have replaced regsub with string map in
a number of places.  Patch attached.
User Comments: dgp added on 2003-03-20 05:10:39:
Logged In: YES 
user_id=80530

committed to HEAD

davidw added on 2003-02-26 12:55:43:
Logged In: YES 
user_id=240

There is a typo in the patch.  The next to last line should be

+    return [string map [list "\n\}" "\}"] $msg]

instead of

+    return [string map [list "\n}" "\}"] $msg]

Thanks!

dgp added on 2003-01-24 04:11:28:
Logged In: YES 
user_id=80530

Dropping priority.  See FR 667456 for reasoning.

davidw added on 2003-01-14 13:58:46:

File Added - 39630: regsub.diff

dgp added on 2003-01-14 13:16:22:
Logged In: YES 
user_id=80530

no patch here.

Attachments: