Hi! This seems to so simple, but I do not see what I am doing wrong.
I want to get the function name from a string of c code: $line = "Func001( 1,2,3,4 )"; Using $line =~ /\(/; Gives $1 = Func001; Works great, but not on the following $line = "Var_name[ 0 ] = Func002( d,e,r,t,)"; Using $line =~ /\(/; Gives $1 = Var_name[ 0 ]=; What am I missing? Thanks, Jerry