Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a5c550885000ae702e12af81a0e2565f2a9549b2
Ticket: 652953ffffffffffffffffffffffffffffffffff
regsub -code (equivalent to Perl's /e)
User & Date: nobody on 2002-12-15 11:20:06
Changes

  1. icomment:
    Logged In: NO 
    
    Yeah, after I submitted it, I saw your comment on the
    feature request list. It would be a small change to switch
    the use of Tcl_EvalObjEx with Tcl_SubstObj, though, yes,
    that wouldn't be compatible with the \1 \2 \3 etc. format.
    It sort of seems to me like $1 $2 $3 ... is more "natural"
    in the context of evaluated expressions, however. (as
    opposed to {[expr {\1 + \2}]} or whatever)
    
    It might be inconsistent, but it wouldn't break the
    non-substituted version.
    
    -- Greg
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"