Artifacts Associated With Ticket 218805
Ticket change [a6664c346c] (rid 98594) by nobody on 2000-10-26 01:05:45:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 2175 RFE Version: 8.0p2 SubmitDate: '1999-06-03' LastModified: '1999-08-06' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Other OSVersion: NetBSD-1.3.3/i386 Machine: NA FixedDate: '1999-08-06' FixedInVersion: 8.1.1 ClosedDate: '2000-10-25' Name: Hume Smith DesiredBehavior: I'm often using regsub to do encodings and decoding, such as MIME quoted-printable or URI %. I seem to get the best speed by using regexp to protect \ $ and [, using it again to insert either $DEC(\&) or [foo {\&}], then running the result through subst. It gets kind of icky. How hard would it be to add, say, -eval and -table switches, where the substitution pattern becomes an array name for -table and the match is replaced with the mapping from the array, and for -eval the substitution argument is the usual list which gets the match tacked on and evaluated (in the same context as the regsub)? Any interest in something like that? This type of feature was added as [string map] in 8.1.1. -- 08/06/1999 hobbs - foundin initialized to: "obsolete: 8.0p2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "table/proc use in regsub"
- type initialized to: "RFE"
Ticket change [c06d38d448] (rid 102401) by welch on 2000-10-26 08:29:16:
- closedate changed to: "2000-10-26T01:29:16"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [48a5ce93b4] (rid 99929) by dgp on 2001-04-16 20:25:01:
- foundin changed to: "None"
- status changed to: "Open"
- subsystem changed to: "None"
Ticket change [445ca8f3c5] (rid 116697) by dgp on 2001-04-16 20:26:14:
- closedate changed to: "2001-04-16T13:26:14"
- closer changed to: "dgp"
- status changed to: "Closed"
- subsystem changed to: "43. Regexp"