111,119
社区成员
发帖
与我相关
我的任务
分享(?<=myfunction\()[^()]*(\([^()]+?\)[^()]*)*[^)]+?(?=\))
MatchCollection mc = Regex.Matches(str,@"(?<=myfunction\()[^()]*(\([^()]+?\)[^()]*)*[^)]+?(?=\))");
foreach (Match m in mc)
{
list.Add(m.Value);
}(?<=myfunction[(])[^)]+?(?=[)]) MatchCollection mc = Regex.Matches(str,@"myfunction\([^)]*\)");