|
@@ 279-282 (lines=4) @@
|
| 276 |
|
$preg_arr[count($preg_arr)-1] = str_replace("e","",$preg_arr[count($preg_arr)-1]);
|
| 277 |
|
$patt = implode($chr, $preg_arr);
|
| 278 |
|
$this->thereplacement = $repl;
|
| 279 |
|
do {
|
| 280 |
|
$this->_text = preg_replace_callback($patt, array($this, "thereplcallback"), $this->_text);
|
| 281 |
|
if(!(isset($rule['cycled']) && $rule['cycled'])) break;
|
| 282 |
|
} while(preg_match($patt, $this->_text));
|
| 283 |
|
|
| 284 |
|
} else {
|
| 285 |
|
do {
|
|
@@ 285-288 (lines=4) @@
|
| 282 |
|
} while(preg_match($patt, $this->_text));
|
| 283 |
|
|
| 284 |
|
} else {
|
| 285 |
|
do {
|
| 286 |
|
$this->_text = preg_replace($patt, $repl, $this->_text);
|
| 287 |
|
if(!(isset($rule['cycled']) && $rule['cycled'])) break;
|
| 288 |
|
} while(preg_match($patt, $this->_text));
|
| 289 |
|
}
|
| 290 |
|
$k++;
|
| 291 |
|
}
|