Lines Matching defs:match
327 foreach ($page->getMatches() as $match) {
328 print('<div class="be-match">');
330 $this->printMatchHeader($page->getId(), $match);
331 $this->printMatchTable($match);
340 private function printMatchHeader($pageId, $match) {
341 $id = $pageId . '#' . $match->getPageOffset();
345 if (!$match->isApplied()) {
346 $this->printApplyCheckBox($id, $id, 'ttl_applymatch', $match->isMarked());
363 private function printMatchTable($match) {
364 $original = $this->prepareText($match->getOriginalText(), $match->isApplied() ? ' be-replaced' : 'be-preview');
365 $replaced = $this->prepareText($match->getReplacedText(), $match->isApplied() ? ' be-applied' : 'be-preview');
366 $before = $this->prepareText($match->getContextBefore());
367 $after = $this->prepareText($match->getContextAfter());
594 if (preg_match("/^(\r?\n)/", $value, $match) == 1) {
595 $value = $match[1] . $value;