|
Main sidebar
|
PITS /
01230Summary: Wild card characters don't work in the PmWiki search box
Created: 2010-10-24 15:54
Status: Open
Category: Bug
From: Neil
Assigned:
Priority: 443
Version: Latest
OS: Linux/Apache/PHP: 5.2.6
Description: In my own iteration of PmWiki and also the main pmwiki.org website I find that if I enter a search word terminated with an asterisk I get zero results. For example if I search on the word search* I get nothing, but if I use the word searching I get many pages .... I understand the * character to represent zero or more characters - so this seems to be an error. I hope I haven't missed something obvious, but the wilcard characters don't seem to be recognised ... Advice welcomed Right now, you don't need to use wildcards, the word "search" will find pages containing "search", "searching", "searched" and "researcher". --Petko March 17, 2011, at 01:28 PM But if I want "searching" and "searches" and "searched" but NOT "research" I don't have any way to do that... Moving to an implicit anchor-at-word-boundary with wildcards would be more intuitive. (I know I've tried searching using wildcards on multiple occasions and then belated remembered to just use the substring.) Peter Bowers March 17, 2011, at 04:03 PM You do have any way to do that, use I notice an inconsistency here.
Simon March 30, 2011, at 01:56 AM
Just a note to say thank you for the responses, it has cleared up what was bothering me - I am used to complex search syntax and hadn't caught on to the way it worked. Now I know what to tell people when they ask. Much appreciated. Neil April 20, 2011 |