Lines Matching defs:regexp
96 public function __construct($pageText, $pageOffset, $text, $regexp, $replacement, $contextChars, $contextLines) {
99 $this->replacedText = preg_replace($regexp, $replacement, $text);
264 public function findMatches($regexp, $replacement, $limit, $contextChars, $contextLines, $applyTemplatePatterns) {
266 $count = @preg_match_all($regexp, $text, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE);
291 $this->addMatch($text, $match[$i][0][1], $match[$i][0][0], $regexp, $replacement,
413 private function addMatch($text, $offset, $matched, $regexp, $replacement, $contextChars, $contextLines) {
414 $this->matches[$offset] = new BatcheditMatch($text, $offset, $matched, $regexp, $replacement, $contextChars, $contextLines);
757 $properties['regexp'] = $request->getRegexp();
1017 public function findMatches($namespace, $regexp, $replacement, $limit, $contextChars, $contextLines, $applyTemplatePatterns) {
1023 $interrupted = $page->findMatches($regexp, $replacement, $limit - $this->session->getMatchCount(),