Tags:
create new tag
, view all tags

Implemented: New switch for search to perform an AND NOT search

A regular expression search already supports an AND search with a ";" delimiter, like "soap;web service". This new enhancement allows you to perform an AND NOT search with a "!" prefix in the search token, e.g. "soap;web service;!shampoo" will search for "soap" AND "web service" AND NOT "shampoo".

Contributors:
-- PeterThoeny - 03 Jan 2004

Discussions

This is in preparation of the KeywordSearchWithImplicitAnd feature.

-- PeterThoeny - 03 Jan 2004

could we replace the ; and ! with

  • [Aa][Nn][Dd]
  • [Nn][Oo][Tt]
and then add
  • [Oo][Rr]

so that we eventualliy go towards the same syntax as Google?

-- SvenDowideit - 03 Jan 2004

This is just for the regex search. KeywordSearchWithImplicitAnd will support syntax: soap +wsdl "web service" -shampoo, which gets translated internally into a regex search: soap;wsdl;web service;!shampoo

This feature is now in TWikiAlphaRelease and at TWiki.org.

-- PeterThoeny - 03 Jan 2004

Topic revision: r7 - 2004-02-14 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.