home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!news.crl.dec.com!payne
- From: payne@crl.dec.com (Andrew Payne)
- Subject: Re: Tk2.3/3.0: text search?
- Message-ID: <1993Jan5.142557.24758@crl.dec.com>
- Sender: news@crl.dec.com (USENET News System)
- Organization: DEC Cambridge Research Lab
- References: <kfG_klG00h5K5H3Fhb@cs.cmu.edu>
- Date: Tue, 5 Jan 1993 14:25:57 GMT
- Lines: 21
-
- In article <kfG_klG00h5K5H3Fhb@cs.cmu.edu> Sean.Levy@cs.cmu.edu writes:
- >I notice, to my surprise, that the text widget includes no "search"
- >command.
-
- Yes, I noticed this too, and I've had several occasions where such a feature
- would have been useful.
-
- I've been meaning to find some time to experiment with adding a regular
- expression search as a text index modifier: something that would allow
- you to use indices like
-
- current searchf "aardvark"
-
- which would evaluate to an index pointing to the first occurrence of the
- string "aardvark" after the current pointer.
-
-
-
- --
- Andrew C. Payne
- DEC Cambridge Research Lab
-