Dear cgi-colleagues,
I want to write a cgi-script to allow users to search for strings
in a text. Therefore I use a form offering a field where he / she
can put in what to look for. Instead of asking for a regular expression
I want to give them the possibility of entering something like
spoon AND NOT spoonful
or
sun AND NOT sunday suntan sundried
or
sun mon AND NOT sunday monday suntan sundried
as a search pattern.
Is there a function or a module that translate such
search patterns into a regular expression? Or do I have
to do all the job on my own by rearranging the QUERY_STRING?
If you have any idea, please let me know.
Peter Stahl
University of Wuerzburg
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]