I am using the following Regular expression for finding the groups
string pattern = @"(?<member>(?>\w+))\((?:(?<parameter>(?:(?>[^,()""']+)|""(?>[^\\""]+|\\"")*""|@""(?>[^""]+|"""")*""|'(?:[^']|\\')*'|\((?:(?<nest>\()|(?<-nest>\))|(?>[^()]+))*(?(nest)(?!))\))+)\s*(?(?=,),\s*|(?=\))))+\)";
from the expression like
string Exp = "GetValue(GetValue(GetValue(1 + 2) * GetValue(3 * 4)) / GetValue(GetValue(5 * 6) / 7) / 8)";
I am getting the below groups :
a) GetValue(GetValue(1 + 2) * GetValue(3 * 4))
b) GetValue(GetValue(5 * 6) / 7)
I am getting all the groups but the outer group (GetValue(.... / 8)) is not getting ???
What could be the problem in the pattern ??