Tk Library Source Code

View Ticket
Login
Ticket UUID: 693194
Title: string map vs regsub (textutils)
Type: RFE Version: None
Submitter: davidw Created on: 2003-02-25 21:25:46
Subsystem: textutil Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-04-01 07:21:20
Resolution: Closed By: andreas_kupries
    Closed on: 2003-04-01 00:21:20
Description:
         ./textutil/tabify.tcl:94:    regsub -all --
$str $string "\t" string
         ./textutil/tabify.tcl:102:    regsub -all --
"\t" $string $str string
 
These two lines can probably be redone with string map,
which will speed the code up significantly.
User Comments: andreas_kupries added on 2003-04-01 07:21:20:
Logged In: YES 
user_id=75003

Accepted and changed in CVS head.