search files using editor LW 5.1 for Windows
Hello,
I have two questions related to searching files for a string pattern.
1. For some files, I don't find an exact string match when searching files in a folder (plain directory search). If I read the files line by line using (with-open-file...
(loop ..
(read-line
(regex ...
I do find the string match.
This seems to occur only for certain files. Most files seem to work fine. The file pattern search is C:\Program Files\LispWorks\program\*\*..lisp (the * directory may be specified but bears no affect on the outcome of the missed strings.) I figure there must be some characteristic(s) of the files involved, but Ihaven't been able to identified them.
2. How do you search for "my string"#\newline ?
Any assistance is appreciated.
Thanks,
Sheldon