$dollarpercntSEARCH{ for level three, $dollardollarpercntSEARCH{ for level four, etc.
Change in twiki/lib/TWiki.pm:
diff -c bu1 TWiki.pm
*** bu1/TWiki.pm 2004-04-30 14:23:19.000000000 -0700
--- TWiki.pm 2004-07-09 13:41:29.000000000 -0700
***************
*** 2108,2115 ****
$_[0] =~ s/%STOPINCLUDE%//g;
$_[0] =~ s/%SECTION{(.*?)}%//g;
$_[0] =~ s/%ENDSECTION%//g;
! $_[0] =~ s/%SEARCH{(.*?)}%/&handleSearchWeb($1)/ge; # can be nested
! $_[0] =~ s/%SEARCH{(.*?)}%/&handleSearchWeb($1)/ge if( $_[0] =~ /%SEARCH/o );
$_[0] =~ s/%METASEARCH{(.*?)}%/&handleMetaSearch($1)/ge;
}
--- 2108,2117 ----
$_[0] =~ s/%STOPINCLUDE%//g;
$_[0] =~ s/%SECTION{(.*?)}%//g;
$_[0] =~ s/%ENDSECTION%//g;
! my $ok = 16; # SEARCH may be nested up to 16 times
! TRY: while( $_[0] =~ s/%SEARCH{(.*?)}%/&handleSearchWeb($1)/ge ) {
! last TRY unless( --$ok );
! }
$_[0] =~ s/%METASEARCH{(.*?)}%/&handleMetaSearch($1)/ge;
}
| Topic | Before | After change |
|---|---|---|
| TWiki.WelcomeGuest | 0.50 | 0.51 |
| TWiki.WikiWord | 0.49 | 0.50 |
| TWiki.FormattedSearch | 1.28 | 1.29 |
| WebForm | |
|---|---|
| TopicClassification | FeatureToDo |
| TopicSummary | Increase levels of nested search from 2 to 16 |
| InterestedParties | |
| AssignedTo | |
| AssignedToCore | PeterThoeny |
| ScheduledFor | CairoRelease |
| ImplementationDate | N/A |
| RelatedTopics | FormattedSearch, TWikiVariables#VarSEARCH |
| SpecProgress | 100% |
| ImplProgress | 100% |
| DocProgress | 100% |