Skip to content
Permalink
Browse files

Item10284: Allow web qualified topic in search

git-svn-id: http://svn.foswiki.org/branches/Release01x01@10871 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
GeorgeClark GeorgeClark
GeorgeClark authored and GeorgeClark committed Mar 1, 2011
1 parent 49d47a2 commit 56d2747836e0d92142315fe177446f4562c9e4a4
Showing with 8 additions and 3 deletions.
  1. +8 −3 core/lib/Foswiki/Render.pm
@@ -1893,17 +1893,22 @@ sub getReferenceRE {
else {

# Non-wikiword; require web specifier or squabs
$re = "$squabo$topic$squabc";
$re .= "|\"$topic\"";
$re = "$squabo$topic$squabc"; # Squabbed topic
$re .= "|\"(?:$matchWeb\\.)?$topic\""
; # Quoted string in Meta and Macros
$re .= "|(($back\[^./])|^)$bow$matchWeb\\.$topic$eow"
unless ( $options{in_noautolink} );
unless ( $options{in_noautolink} )
; # Web qualified topic outside of autolink blocks.
}
}
}
}
else {

# Searching for a web
# SMELL: Does this web search also need to allow for quoted
# "Web.Topic" strings found in macros and META usage?

if ( $options{interweb} ) {

if ( $options{in_noautolink} ) {

0 comments on commit 56d2747

Please sign in to comment.
You can’t perform that action at this time.