I want some public-domain Lisp code that does the following:
1) searches for a fixed substring in a string, being smart about
newlines, etc. Thus, in the previous sentence, the code would be able
to find "about newlines"
2) searches for a regular expression in a string
3) does boolean queries, LEXIS style, into strings, e.g. "foo AND bar
WITHIN 20 LINES OF baz"
Does anyone know of anything?
Thanks,
--
-- Philip Greenspun
-------------------------------------------------------------
MIT Department of Electrical Engineering and Computer Science
545 Technology Square, Rm 433, Cambridge, MA 02139
(617) 253-8574