Re: [ANNOUNCE] Tk-JComboBox 1.06
"James D. White" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Organization | University of Oklahoma - ACGT |
| Message-ID | <[email protected]> |
[email protected] wrote: > Jack wrote: > > This is the module I've been looking for (I think). I want to use the > > -autofind option but I have one request. Please add another autofind option > > > which would search m/any/ part of the string as opposed to just from the > > m/^beginning/. I can think of numerous applications that I have written > that > > indeed search "within" the string. > Ok, this should be trivial to add support for. Perhaps an option called > patternanchor or searchanchor (any other suggestions?) that could take one of > the three options: start, end, any, and would default to "start" which I > imagine would be the behavior most would expect, I'm interested to hear of > your cases where you would want the search within the String. Another option would be to explicitly allow a reference to a regular expression for the autofind option. If it is a regular expression reference, then assume the caller knows how to anchor or not as desired. If not a regular expression, then assume the anchor, with or without options. $pattern = (ref $autofind eq 'Regexp') ? $autofind : qr/^$autofind/; > ...rest of message deleted... > -- James D. White ([email protected]) Director of Bioinformatics Department of Chemistry and Biochemistry/ACGT University of Oklahoma 101 David L. Boren Blvd., SRTC 2100 Norman, OK 73019 Phone: (405) 325-4912, FAX: (405) 325-7762 -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]