Tags:
create new tag
view all tags

Question

How can I activate regulare expressions?

ich need to find all Topics like "SR..HV..." I tryed "*", ".*", "(.*)" ... but always get no result.

Is there another configuration exept Set SEARCHDEFAULTTTYPE = keyword ?

Greetings Daniel

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Suse Linux Enterprise 10
Web server: Apache 2.2.0
Perl version: 5.8.8
Client OS: win xp
Web Browser: firefox
Categories: Search

-- DanielPerabo - 19 Nov 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Here is an example to search for topic names beginning with "SR..HV":

%SEARCH{ "^SR..HV" scope="topic" type="regex" nonoise="on" format="| [[$topic]]: $summary |" }%

Please note that SEARCH only looks in the current web by default. There is parameter to search in all webs.

See details at VarSEARCH, FormattedSearch, RegularExpression.

-- PeterThoeny - 19 Nov 2008

thx, it's working fine

-- DanielPerabo - 18 Dec 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-12-18 - DanielPerabo
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.