You are here

function scanner_scanner_preg_match_all in Search and Replace Scanner 7

Implements hook_scanner_preg_match_all().

File

./scanner.module, line 1351
Search and Replace Scanner - works on all nodes text content.

Code

function scanner_scanner_preg_match_all(&$matches, $regexstr, $row) {
  return preg_match_all($regexstr, $row->content, $matches, PREG_OFFSET_CAPTURE);
}