Tags:
create new tag
, view all tags

Question

I read HowToListOnlyNewTopics and use that, but in addition I was wondering how to list topics modified but not new. I tried various regular expressions to match everything but 1.1 from the META:TOPICINFO version field, to no avail. What I'm really looking for is a negation. Almost grep -v META:TOPICINFO.*version=\"1.1\". Any pointers much appreciated.

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Red Hat Linux 9
Web server: Apache 2.0.47
Perl version: 5.8.0
Client OS: Red Hat Linux 9
Web Browser: Mozilla Firebird

-- IsaiahWeiner - 24 Sep 2003

Answer

A negative search is currently not possible, but you can do an exclude search:

%SEARCH{ "[%]META:TOPICINFO.*version=\"1.([2-9]|1[0-9]+)\"" regex="on" format="|$topic|$rev|" }%

Returns this: (limited to the first 20 entries)

Search: [%]META:TOPICINFO.*version="1.([2-9]|1[0-9]+)"

ALLOWWEBVIEWcannotSearch 2
ARGPullingMyHairOutConfigureBroken 11
ASimpleSearchFormOnTheMainPage 4
AUTOINCNotChoosingNextNumber 5
AboutTWikiSupport 3
AbsoluteUrl 4
AbyssUserAuthentication 5
AccentInFilenames 3
AccessChangeOops 3
AccessCheckErrorNoUser 7
AccessCheckForChangeIssue 5
AccessConfigurefile 4
AccessControl 3
AccessControlAndPermissionIssues 5
AccessControlBasedOnHttpHeaderValues 3
AccessControlConfusion 4
AccessControlForHierarchicalWebs 3
AccessControlForTopicAndSubWebs 2
AccessControlHierarchicalWebs 3
AccessControlIssue 9
Number of topics: 20

-- PeterThoeny - 25 Sep 2003

Thanks!!! That's much closer than what I used. This seems to be the last modification needed: 1.([2-9]+|1[0-9]+).

-- IsaiahWeiner - 29 Sep 2003

Topic revision: r3 - 2003-09-29 - IsaiahWeiner
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.