Question
The Wiki Variable %SEARCH{... can be used to find topics which match a specific pattern in a line of it.
The problem i have is that i must find a match in more lines. For example the must be "abc" in one line AND "def" in an other line. Only the topics which match both rules have to be listed in the output of %SEARCH.
Is there a way to do it ?
- TWiki version:Dec 2001
- Web server:Apache
- Server OS:SunOS
- Web browser: Netscape
- Client OS: Win NT
--
PetricFrank - 14 Mar 2002
Answer
Yes, you just need to install the GNU
bool program, instead of egrep/fgrep - see towards the end of
SearchEngineVsGrepSearch. You may need to tweak the Perl code a bit to use search forms, but I think the embedded searches work fine (I tested this locally).
--
RichardDonkin - 14 Mar 2002