Overview
| Artifact ID: | cd867cb2f3d027cdd2e5c3093030c0c9eae33411 |
|---|---|
| Ticket: | 219264ffffffffffffffffffffffffffffffffff
Would like regexps to accept a -backward flag for searching |
| User & Date: | nobody on 2000-10-26 05:09:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 1059 RFE Version: 8.1b1 SubmitDate: '1999-01-15' LastModified: '1999-08-04' Severity: LOW Status: UnAssn Submitter: pat ChangedBy: stanton OS: Windows NT OSVersion: 4.0; I also use MacOS 8.5.1 Machine: X86 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: vince darley Extensions: none DesiredBehavior: regexps only find the first match in the given text; it would be very useful to be able to have a '-backwards' flag which started searching from the end of the given string. As well as being a useful feature, this addition would speed up backwards searches in the Text widget, which currently pretends to search backwards by repeating forward searches until it can't find another forward match. In Tcl 8.0 it was reasonably easy to write one's own 'regexec' function which matched backwards instead of forwards (using the built in regexp procedures). However the new regexp code in Tcl 8.1 is so complex it's not clear how to do that any more (although I love the new regexp features). Probably it still isn't conceptually that difficult for someone who actually understands that code ;-)
- foundin changed to: "obsolete: 8.1b1"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "43. Regexp"
- title changed to:
Would like regexps to accept a -backward flag for searching
- type changed to: "RFE"