Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 80a50cde4453b80881584feb45636f8ef27a73c2
Ticket: 3069454fffffffffffffffffffffffffffffffff
difference between bcc'ed and eval'ed regexp
User & Date: hobbs on 2010-09-18 06:57:04
Changes

  1. icomment:
    Hmmm ... this seems to show that regexp itself is not consistent with standard Tcl option behavior, which is to allow uniq abbrs of options.  Indeed, Tcl_RegexpObjCmd uses TCL_EXACT for getopts, whereas the compile cmd does a strcmp of len >= 2.
    
    It seems like it would be consistent to correct tclCompCmds.c to enforce the full -nocase, as regexp has behaved that way since 8.0, even if most Tcl commands allow abbr opts.  Agreed?
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"