Question
I'm using wiki forms and formatted search to generate reports from information in the forms. If I have a form with multiple fields, how do I use regex to match the values of two (or more) fields? The dot operator doesn't match NEWLINE, so how do I get regex to jump over the newlines?
- TWiki version: TWiki version 01 Dec 2001
- Web server:
- Server OS:
- Web browser:
- Client OS:
--
ZakWilliamson - 14 Mar 2002
Answer
See the
andgrep script, which does this (though it probably needs updating for metadata searching of forms, which changed since it was written). It's linked from
ExcludeSearchResultWithRegEx.
UPDATE: See
QueryIssuerOfTopic for how to search metadata fields - something similar should work with
andgrep.
--
RichardDonkin - 15 Mar 2002
You need the latest
TWikiAlphaRelease code or Richard's
andgrep script in
CategorySearchForm for regular expression search with
AND.
--
PeterThoeny - 30 Mar 2002