diff options
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,7 +397,7 @@ static function replace($replacements, $string, $p = array()) foreach ($replacements as $pattern => $dummy) $patterns[] = !preg_match('/\\\\[wb]|[!\x80-\xff]|\[\[:/i', $pattern) && !$p ? "!$pattern!i" : it::convertregex($complex = $pattern, $p); - if (!$complex) + if (!$complex && !$p) $result = preg_replace($patterns, $replacements, $string); else { |