Question (Sorry for the topic misspelling; I don't have permission to rename)
I want to be able to search a web with a
RegularExpression and then report multiple matches from each topic. The use case is marking issues in task lists and specifications and then reporting all issues in another document.
For example, I have two topics Foo1 and Foo2.
Topic Foo1:
some text
some more text
Topic Foo2:
some text
- ISSUE: Mary thinks that Baz is going to be late
some more text
even more text
I want to be able to have a top-level page that gathers all issues and reports it like so:
- Foo1 Issues:
- Foo2 Issues:
- Mary thinks that Baz is going to be late
- Quux
I've gotten close to this with
FormattedSearch, but can't ever find the 2nd match (or greater) in a Topic. I've poked around a bit and all search discussion seems to point to getting lists of topics and/or extracting one match.
Or am I making a
RookieTWikiMistake?
(I didn't want to crack the perl until I was sure that this feature, which seems obvious, wasn't already available.)
- TWiki version: 01Dec2001
- Web server: apache
- Server OS: RedHatLinux 7.1
- Web browser: IE5.x/IE6
- Client OS: Win2K
--
DavisWFrank - 06 Jun 2002
Answer
You cannot use
FormattedSearch because it only extracts the first occurance of a topic. Have a look at the
ActionTrackerPlugin that does queries with multiple hits per topic.
--
PeterThoeny - 13 Jun 2002