I am trying to build a regex that would extract the values of pseudo-xml-tags (enclodes in{} instead of <>) and it doesn't work. Have verified the thing with RegexBuddy, my favourite rx-tool which captured quite correct, but when using it in my PHP-Code, I do not get a result. So, w/o further ado, here's the problem:
$match=array();
$ret=preg_match('\{lang\s*=\s*[\"\']*?(.*?)[\"\']*?\s*/\}',"{lang='DE'/}xxxxlxlxlxl",$match);
Why is $match empty?