[pmwiki-users] Re: Re: Re: problem with searchterms script
Karl Loncarek
dh2mll at web.de
Thu Sep 15 13:41:12 CDT 2005
"Patrick R. Michaud" <pmichaud at pobox.com> wrote in
news:20050915172404.GC27072 at host.pmichaud.com:
> On Thu, Sep 15, 2005 at 04:02:38PM +0000, Karl Loncarek wrote:
>> "Patrick R. Michaud" <pmichaud at pobox.com> wrote in
>> > On Thu, Sep 15, 2005 at 03:26:46PM +0000, Karl Loncarek wrote:
>> >> >> Warning: Unknown modifier '|' in d:\Prog\Abyss Web
>> >> >> Server\htdocs\pmwiki \pmwiki.php on line 1000
>> >> >
>> >> > Actually, the problem is that the words array can contain
>> >> > characters that are treated as part of the regular expression.
>> >> > In this case, a '/' in the search words is prematurely ending
>> >> > the pattern.
>> >> >
>> >> > I've now updated the searchterms.php recipe in the cookbook --
>> >> > try the new one and see if it solves the problem.
>> >
>> > Is there a url or example I could look at?
>> >
>> Look here:
>> http://www.loncarek.de/pages?pagename=PmWikiDe%2FWikiSuche&q=Workshop%
>> 2F+woelb
>>
>> and now click on "Licht".
>
> Hmm. Can you send me the searchterms.php script you're using
> so I can compare it to the one I have? The one I'm using
> appears to be working just fine on PmWiki.org:
>
> http://www.pmwiki.org/wiki/PmWikiDe/Search?q=Cookbook%2F+highlight
>
> Clicking on "SearchTerms" highlights the words properly.
>
> Pm
>
Just as information for the members of the mailing list:
The new version of the script helped...
--
Bye
Karl (aka Klonk)
More information about the pmwiki-users
mailing list