| TWiki version: | TWikiRelease01Dec2001 |
| TWiki plugins: | DefaultPlugin, EmptyPlugin, InterwikiPlugin |
| Server OS: | Debian Linux 2.4.18-686-smp |
| Web server: | Apache |
| Perl version: | perl, v5.8.3 |
| Client OS: | MS Windows 2K SP4 |
| Web Browser: | Internet Explorer, Mozilla Firefox |
%INCLUDE{"%STATISTICSTOPIC%" pattern=".*?\-\-statTopContributors\-\-\>[^\|]+\|[^\|]+\|[^\|]+\|[^\|]+\|[^\|]+\|[^\|]+(\|[^\|]+\|[^\|]+\|).*"}%
However, how would I be able to exclude topics such as WebHome using the regex I've got above?
-- VivekDelhikar - 19 Feb 2004
Write this to get the all topics:
%INCLUDE{"%STATISTICSTOPIC%" pattern=".*?\-\-statTopContributors\-\-\>[^\r\n]+[\r\n]+\|[^\|]+\|[^\|]+\|[^\|]+\|[^\|]+([^\r\n]+).*"}%
This renders as:
| 7366 WhySearchTotalsMissing 6125 PhpFlagEngineOffBreaksRendering 3201 WebHome 2303 InsertLinkHere 2022 SID-02382 407 AskedAndAssignedQuestions 370 WebNotify 318 WebChanges 266 SupportGuidelines 261 SupportForum |
|%INCLUDE{"%STATISTICSTOPIC%" pattern=".*?\-\-statTopContributors\-\-\>[^\r\n]+[\r\n]+.*?WebHome[^0-9]*([^\r\n]+).*"}%
This renders as:
| 2303 InsertLinkHere 2022 SID-02382 407 AskedAndAssignedQuestions 370 WebNotify 318 WebChanges 266 SupportGuidelines 261 SupportForum |