Skip to content
Tcl Source Code View Ticket
Login

View Ticket

string, regexp enhancements

Closed / Wont Fix219222ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:03:47
OriginalBugID: 4046 RFE
Version: 8.3b2
SubmitDate: '2000-01-19'
LastModified: '2000-04-03'
Severity: LOW
Status: Assigned
Submitter: techsupp
ChangedBy: hobbs
OS: Windows NT
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Vince Darley

DesiredBehavior:
Many 'string' subcommands have an optional '-nocase' argument.  But
'string first' and 'string last' do not.  Could these be added?

regexp, regsub have a new '-start' argument, why not also an '-end'
argument?



The -nocase is a good idea, the -end would be harder.  Are there
algorithms that would benefit significantly from this? 
-- 04/03/2000 hobbs
dkfplain2000-11-08 18:06:14
You can simulate the effect of -end by just performing a substring (with [string range]) on the input string to [regexp], surely?
andreas_kupriesplain2000-11-17 19:10:33
[string tolower] should be a workaround for the missing "-nocase" option.
dkfplain2000-11-17 21:15:05
With workarounds for everything available, I think we can mark this one's priority right down...
dkf Ticket [219222ffff]: 1 change [History diff]2001-02-07 23:11:30
dkf Closed ticket [219222ffff]. [History diff]2001-02-15 23:33:23
dgp Ticket [219222ffff]: 2 changes [History diff]2001-03-02 06:25:17
dgp Ticket [219222ffff]: 3 changes [History diff]2001-04-04 03:48:28
Log in (anonymous is fine) to add a comment.