[pmwiki-users] Re: Re: problem with searchterms script
Patrick R. Michaud
pmichaud at pobox.com
Thu Sep 15 12:24:04 CDT 2005
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
More information about the pmwiki-users
mailing list