$str
);
- $str = preg_replace('/\\\\|\{(\s*)?\}/', ' ', $str);
+ //$str = preg_replace('/\\\\|\{(\s*)?\}/', ' ', $str); //WHY you do this?
return $str;
}
* @param $str ref to the string that will be scanned and modified
*/
public static function unescapeTokens(&$str) {
- $str = preg_replace('/\\\\|\{(\{\w+\.\w+\})\}/', '\\1', $str);
+ //$str = preg_replace('/\\\\|\{(\{\w+\.\w+\})\}/', '\\1', $str);
}
/**