@@ 264-267 (lines=4) @@ | ||
261 | $preg_arr[count($preg_arr) - 1] = str_replace("e", "", $preg_arr[count($preg_arr) - 1]); |
|
262 | $patt = implode($chr, $preg_arr); |
|
263 | $this->thereplacement = $repl; |
|
264 | do { |
|
265 | $this->_text = preg_replace_callback($patt, array($this, "thereplcallback"), $this->_text); |
|
266 | if (!(isset($rule['cycled']) && $rule['cycled'])) break; |
|
267 | } while (preg_match($patt, $this->_text)); |
|
268 | ||
269 | } else { |
|
270 | do { |
|
@@ 270-273 (lines=4) @@ | ||
267 | } while (preg_match($patt, $this->_text)); |
|
268 | ||
269 | } else { |
|
270 | do { |
|
271 | $this->_text = preg_replace($patt, $repl, $this->_text); |
|
272 | if (!(isset($rule['cycled']) && $rule['cycled'])) break; |
|
273 | } while (preg_match($patt, $this->_text)); |
|
274 | } |
|
275 | $k++; |
|
276 | } |