function _search_excerpt_replace

Same name and namespace in other branches
  1. 7.x drupal-7.x/modules/search/search.module \_search_excerpt_replace()

Helper function for array_walk in search_except.

1 string reference to '_search_excerpt_replace'
search_excerpt in drupal-6.x/modules/search/search.module
Returns snippets from a piece of text, with certain keywords highlighted. Used for formatting search results.

Archivo

drupal-6.x/modules/search/search.module, line 1289
Enables site-wide keyword searching.

Código

function _search_excerpt_replace(&$text) {
  $text = preg_quote($text, '/');
}