diff --git a/include/class.variable.php b/include/class.variable.php
index f83ba61be9063d385943b4fe4f4fdc751a58f422..7d49ce592855e3d65bb5d41165bcbad6b5346bc9 100644
--- a/include/class.variable.php
+++ b/include/class.variable.php
@@ -98,7 +98,7 @@ class VariableReplacer {
         if(!($vars=$this->_parse($input)))
             return $input;
 
-        return preg_replace($this->_delimit(array_keys($vars)), array_values($vars), $input);
+        return str_replace(array_keys($vars), array_values($vars), $input);
     }
 
     function _resolveVar($var) {
@@ -134,14 +134,5 @@ class VariableReplacer {
 
         return $vars;
     }
-
-    //Helper function - will be replaced by a lambda function (PHP 5.3+)
-    function _delimit($val, $d='/') {
-
-        if($val && is_array($val))
-            return array_map(array($this, '_delimit'), $val);
-
-        return $d.$val.$d;
-    }
 }
 ?>