Artifacts Associated With Ticket 218773ffffffffff
Ticket change [593d7edab6] (rid 117941) by nobody on 2000-10-26 01:05:11:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "43. Regexp"
- title initialized to: "Add new regexp options to regsub"
- type initialized to: "Bug"
Ticket change [8a72f5c365] (rid 127393) by welch on 2000-10-26 08:28:15:
- closedate changed to: "2000-10-26T01:28:15"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"