comp.lang.ada
 help / color / mirror / Atom feed
* Search Up
@ 2000-11-22  0:00 srini
  2000-11-22  0:00 ` Hugo van der Sanden
  0 siblings, 1 reply; 4+ messages in thread
From: srini @ 2000-11-22  0:00 UTC (permalink / raw)


folks,

Can anyone please give me a hint as to how I will solve this problem :

I am developing an editor. It has the ability to "search" for a given
regular expression. Now, I would like to add the ability to search
backwards from a given position. I guess it is really not backwards but
the last occurance of the expression. 

Perhaps I can reverse the string, reverse the regex and then compile the
regexp and search. Will this be valid?

Any and all hints would be welcome.

regards

srini




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-27  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-22  0:00 Search Up srini
2000-11-22  0:00 ` Hugo van der Sanden
2000-11-22  0:00   ` r_srinivasan
2000-11-27  0:00   ` Robert A Duff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox