Skip to content
Tcl Source Code History Of Ticket 218773ffffffffff
Login

History Of Ticket 218773ffffffffff

Artifacts Associated With Ticket 218773ffffffffff

  1. Ticket change [593d7edab6] (rid 117941) by nobody on 2000-10-26 01:05:11:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2079 RFE
      Version: 8.1
      SubmitDate: '1999-05-17'
      LastModified: '1999-08-04'
      Severity: LOW
      Status: Released
      Submitter: pat
      ChangedBy: stanton
      OS: Linux
      Machine: Other
      FixedDate: '1999-08-04'
      FixedInVersion: 8.1b2
      ClosedDate: '2000-10-25'
      
      
      Name:
      
      Thomas Koutcher
      
      
      
      DesiredBehavior:
      
      Several interesting options have been added to regexp (e.g. -line). It
      
          would be fine to have them in regsub.
      
      
      
      Patch:
      
      --- tclCmdMZ.c.origThu Apr 29 01:11:40 1999
      
      +++ tclCmdMZ.cSat May 15 12:29:32 1999
      
      @@ -327,10 +327,12 @@
      
           CONST Tcl_UniChar *w, *wStart, *wEnd;
      
           char *string, *subspec, *varname;
      
           static char *options[] = {
      
      -"-all","-nocase","--",NULL
      
      +"-all","-nocase","-expanded","-line",
      
      +"-linestop","-lineanchor","--",NULL
      
           };
      
           enum options {
      
      -REGSUB_ALL,REGSUB_NOCASE,REGSUB_LAST
      
      +REGSUB_ALL,REGSUB_NOCASE,REGSUB_EXPANDED,REGSUB_LINE,
      
      +REGSUB_LINESTOP,REGSUB_LINEANCHOR,REGSUB_LAST
      
           };
      
       
      
           flags = 0;
      
      @@ -355,6 +357,22 @@
      
           }
      
           case REGSUB_NOCASE: {
      
       flags |= REG_ICASE;
      
      +break;
      
      +    }
      
      +    case REGSUB_EXPANDED: {
      
      +flags |= REG_EXPANDED;
      
      +break;
      
      +    }
      
      +    case REGSUB_LINE: {
      
      +flags |= REG_NEWLINE;
      
      +break;
      
      +    }
      
      +    case REGSUB_LINESTOP: {
      
      +flags |= REG_NLSTOP;
      
      +break;
      
      +    }
      
      +    case REGSUB_LINEANCHOR: {
      
      +flags |= REG_NLANCH;
      
       break;
      
           }
      
           case REGSUB_LAST: {
      
      
      
      PatchFiles:
      
      tclCmdMZ.c
      
      
      
      
      
      08/04/1999 17:44 - stanton - This patch has been applied.
      
    4. foundin initialized to: "obsolete: 8.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "43. Regexp"
    10. title initialized to: "Add new regexp options to regsub"
    11. type initialized to: "Bug"
  2. Ticket change [8a72f5c365] (rid 127393) by welch on 2000-10-26 08:28:15:

    1. closedate changed to: "2000-10-26T01:28:15"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"