文本:
exp:funcA(office_province, office_city, office_district, office_street)
正则(自扣的)/exp:(\w+)(?:\()(.*)(?:\))/
期待提取结果
preg_match('/exp:(\w+)(?:\()(.*)(?:\))/', $exp, $rs);
$rs[0] = funcA
$rs[1] = office_province, office_city, office_district, office_street