Hi,
I am working on a website the uses preg_replace quite alot and I have not had any problems with it until today.
Today I uploaded the site to the ISP hosting the web and everything works except for the preg_replace fuctions - they seem to be ignored.
The problem has to that I develope on IIS, but the ISP is running Apache.
Here is a simple replace code that is being ignored now.
//Replace [myTag] tags in $text
$patterns = "/[myTag([ \w]+)]/e";
$replace = "convertToRealTag('\1')";
$new_body= preg_replace ($patterns, replace, $text);
I wonder if this is a backslash issue?
Samuel