search.module
===================================================================
LINE 834 CHANGED FROM
$query2 = substr(str_repeat("i.word = '%s' OR ", count($arguments2)), 0, -4);
INTO
$query2 = substr(str_repeat("i.word like '%%%s%%' OR ", count($arguments2)), 0, -4);
===================================================================
LINE 861 CHANGED FROM
return array("d.data ". ($not ? 'NOT ' : '') ."LIKE '%% %s %%'", $num_new_scores, $num_valid_words);
INTO
return array("d.data ". ($not ? 'NOT ' : '') ."LIKE '%%%s%%'", $num_new_scores, $num_valid_words);
===================================================================
LINE 1187 CHANGED FROM
$boundary = '(?:(?<=['. PREG_CLASS_SEARCH_EXCLUDE . PREG_CLASS_CJK .'])|(?=['. PREG_CLASS_SEARCH_EXCLUDE . PREG_CLASS_CJK .']))';
INTO
// $boundary = '(?:(?<=['. PREG_CLASS_SEARCH_EXCLUDE . PREG_CLASS_CJK .'])|(?=['. PREG_CLASS_SEARCH_EXCLUDE . PREG_CLASS_CJK .']))';
===================================================================
LINE 1222 CHANGED FROM
if (preg_match('/'. $boundary . $key . $boundary .'/iu', $text, $match, PREG_OFFSET_CAPTURE, $included[$key])) {
INTO
if (preg_match('/'. $key .'/iu', $text, $match, PREG_OFFSET_CAPTURE, $included[$key])) {
===================================================================
LINE 1280 CHANGED FROM
$text = preg_replace('/'. $boundary .'('. implode('|', $keys) .')'. $boundary .'/iu', '\0', $text);
INTO
$text = preg_replace('/'. '('. implode('|', $keys) .')' . '/iu', '\0', $text);