Lines Matching defs:text
106 'text' => rawWiki($id)
110 $text = PhpString::strtolower($evdata['text']);
111 if (strpos($text, $phrase) !== false) {
453 $text = rawWiki($id);
454 $text = str_replace("\xC2\xAD", '', $text);
458 'text' => &$text,
470 $len = PhpString::strlen($text);
490 } elseif (preg_match('/' . $re3 . '/iu', $text, $match, PREG_OFFSET_CAPTURE, $offset)) {
491 } elseif (preg_match('/' . $re2 . '/iu', $text, $match, PREG_OFFSET_CAPTURE, $offset)) {
492 } elseif (preg_match('/' . $re1 . '/iu', $text, $match, PREG_OFFSET_CAPTURE, $offset)) {
500 $utf8_idx = PhpString::strlen(substr($text, 0, $idx));
520 $snippets = [$text];
531 $snippets[count($snippets) - 1] .= PhpString::substr($text, $append, $end - $append);
533 $snippets[] = PhpString::substr($text, $start, $end - $start);
542 $offset = $idx + strlen(PhpString::substr($text, $utf8_idx, $utf8_len));
543 $offset = Clean::correctIdx($text, $offset);