Hi. In search_function.php of PhpDig 1.6.5 just add in those characters that you want to allow into the following line:
PHP Code:
$what_query_chars = "[^".$phpdig_words_chars[PHPDIG_ENCODING]." -]+";
Remember to escape 'special' characters. For example, if you want to allow the _ character in searches, then change the above line to the following:
PHP Code:
$what_query_chars = "[^".$phpdig_words_chars[PHPDIG_ENCODING]." \\_-]+";