From a39d959b6ff54c33e870a899a493e4621465ecb4 Mon Sep 17 00:00:00 2001 From: rurban Date: Sat, 26 Feb 2005 18:30:40 +0000 Subject: [PATCH] update docs git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4599 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/TextSearchQuery.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/TextSearchQuery.php b/lib/TextSearchQuery.php index cfd409b56..dd12d6dd2 100644 --- a/lib/TextSearchQuery.php +++ b/lib/TextSearchQuery.php @@ -1,18 +1,18 @@ - *
default: case-insensitive glob-style search with special operators OR AND NOT - *
wiki -test - *
Match strings containing the substring 'wiki', and not containing the + *
Match strings containing the substring 'wiki', and NOT containing the * substring 'test'. *
wiki word or page - *
Match strings containing the substring 'wiki' and either the substring - * 'word' or the substring 'page'. + *
Match strings containing the substring 'wiki' AND either the substring + * 'word' OR the substring 'page'. *
auto-detect regex hints, glob-style or regex-style, and converts them - * to PCRE or SQL matchers + * to PCRE and SQL matchers: *
"^word$" => EXACT(word) *
"^word" => STARTS_WITH(word) *
"word*" => STARTS_WITH(word) @@ -27,7 +27,7 @@ * following search clause. * * Search clauses may be joined with the (left-associative) binary operators - * 'AND' and 'OR'. + * 'AND' and 'OR'. (case-insensitive) * * Two adjoining search clauses are joined with an implicit 'AND'. This has * lower precedence than either an explicit 'AND' or 'OR', so "a b OR c" @@ -45,8 +45,8 @@ * Force regex on "re:word" => posix-style, "/word/" => pcre-style * or use regex='glob' to use file wildcard-like matching. (not yet) * - * The parsed tree is then converted to the needed PCRE (highlight, simple backends) - * or SQL functions. + * The parsed tree is then converted to the needed PCRE (highlight, + * simple backends) or SQL functions. * * @author: Jeff Dairiki * @author: Reini Urban (case and regex detection, enhanced sql callbacks) -- 2.45.0