Does anyone know if "." will match end of line chars in preg_replace so that they don't have to be explicit in the code?
For example, are both of these the same?
preg_replace("/@@\[((.)*?)\]@@/e","strlen('$1')-(substr_count('$1','\"')+1)",$str)
preg_replace("/@@\[((.|\n|\r\n)*?)\]@@/e","strlen('$1')-(substr_count('$1','\"')+1)",$str)
Thanks,
John