comp.lang.ada
 help / color / mirror / Atom feed
From: srini <r.srinivasan@worldnet.att.net>
Subject: Search Up
Date: 2000/11/22
Date: 2000-11-22T00:00:00+00:00	[thread overview]
Message-ID: <3A1BF2E3.F2C51F59@worldnet.att.net> (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




             reply	other threads:[~2000-11-22  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-22  0:00 srini [this message]
2000-11-22  0:00 ` Search Up Hugo van der Sanden
2000-11-22  0:00   ` r_srinivasan
2000-11-27  0:00   ` Robert A Duff
replies disabled

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