Tags:
create new tag
view all tags

Question

I'm trying to create a books-page like in SearchBookTitles. However, the search-string used by this example does not work on my version of TWiki. When I use the following string: % SEARCH{ search="__Back to:__ [[% TOPIC %] ]" topic="BookT*"} % I get one result as expected.

However, when I use the following string: % SEARCH{ search="__Back to:__ [[% TOPIC %] ];" topic="BookT*" regex="on"} %

I get zero results.

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, SpreadSheetPlugin, BatchUploadPlugin, CommentPlugin, DefaultPlugin, EditTablePlugin, EmptyPlugin, FileListPlugin, ImageGalleryPlugin, InterwikiPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, SpreadSheetPlugin, TablePlugin
Server OS: Solaris
Web server: Apache
Perl version:  
Client OS: Debian Linux
Web Browser: Firefox
Categories: Search

-- PieterVanDerSpek - 06 Oct 2005

Answer

I dont' know why I didn't think of this before but '[' and ']' should be escaped off course. Shame on me.

-- PieterVanDerSpek - 07 Oct 2005

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-10-07 - PieterVanDerSpek
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.