View Single Post
Old 11-26-2003, 06:28 PM   #1
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Small Highlight Patch

Hi. When doing a search on keyword, if keyword is followed immediately by a period, and if keyword is not in any other snippet, PhpDig will return the resulting page but won't highlight the keyword. To fix this, do the following.

In search_function.php find:
PHP Code:
$stop_regs "[][(){}[:blank:]=&?!&#%\$£*@+%:;,'\"]"
and replace with the following:
PHP Code:
$stop_regs "[][(){}[:blank:]=&?!&#%\$£*@+%:;,\\.'\"]"
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote