Tags:
create new tag
, view all tags

Question

I have tried regex searching for the following string:

<!--BeginPrio-->
I tried regex in OpenOffice to make sure I had it right, and it seems to take it as is, however in TWiki, it doesn't find the string. How should I state the regex search string in TWiki?

There is more I don't understand. I tried the SEARCH statement and it returns the correct result, however I tried searching via the WebSearch page and it won't find the string. I am running version 01 Feb 2003. I see that this current version here does find the string, of course using regular expression in the search form.

-- AlainMivilleDeChene - 06 Feb 2005

Environment

TWiki version: TWikiRelease01Feb2003
TWiki plugins: Lots
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- AlainMivilleDeChene - 01 Feb 2005

Answer

Search for "<\!\-\-BeginPrio\-\->". Lets try it out:

%SEARCH{ "<\!\-\-BeginPrio\-\->" regex="on" nosearch="on" }%

returns this:

Results from Support web retrieved at 14:38 (GMT)

Question I have tried regex searching for the following string: I tried regex in OpenOffice to make sure I had it right, and it seems to take it as is, however in ...
Number of topics: 1

-- PeterThoeny - 02 Feb 2005

Wow. Thanks. I am using what you see as a tag with a corresponding EndPrio tag so that I can extract all in between to consolidate in one page from many TWiki pages. Prio is for Priorities. I will see priorities from many people at once on one page. I could simply use STARTINCLUDE but this way I can mark anything I like on pages in a simple way. INCLUDE is once only in a page.

-- AlainMivilleDeChene - 03 Feb 2005

There is more I don't understand. I tried the SEARCH statement and it returns the correct result, however I tried searching via the WebSearch page and it won't find the string. I am running version 01 Feb 2003. I see that this current version here does find the string, of course using regular expression in the search form.

-- AlainMivilleDeChene - 06 Feb 2005

Not sure, looks like a limitation of the older TWiki release.

-- PeterThoeny - 02 Mar 2005

 
Topic revision: r6 - 2005-03-02 - PeterThoeny
 
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.