Tags:
create new tag
, view all tags

Question

Am I just missing something obvious?

%SEARCH{ ".*Capacity.*|.*Performance.*"  scope="topic" regex="on" 
  format="---+++ $topic <p> $summary<hr><p>" }%

I expected:

FooCapacity

This is something about Foo.


I got:

FooCapacity

This is something about Foo.


(It works as I want if I use <h3>...</h3> instead.)

I'm thinking that having ---+ continue through the <p> is probably a "feature"...

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- VickiBrown - 22 Feb 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Doesn't $n or $n() do the trick?

-- FranzJosefGigler - 22 Feb 2008

Ah ha! Thanks.

-- VickiBrown - 03 Mar 2008

You're welcome. smile

-- FranzJosefGigler - 04 Mar 2008

 
Change status to:
Topic revision: r4 - 2008-03-04 - FranzJosefGigler
 
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.