$str = "aaj{title}f4a{author}37l34jfas3{con}faff32a" $mode = "/{(.*)}/U";
 preg_replace($mode,'中文',$str) Parse error: syntax error, unexpected T_VARIABLE  我初学啊,看似没问题啊,怎么错了呢?