me wrote:
I'm new to regexs and trying to get a list of all my C++ methods with balanced
parenthesis as follows.
#find all c++ method prototypes with a '::' in the middle
#upto and including the 1st closing parenthesis
pattern_upto_1st_closed_parenth = re.compile('\w+::\w+\([^)]*\)')
matc
I'm new to regexs and trying to get a list of all my C++ methods with balanced
parenthesis as follows.
#find all c++ method prototypes with a '::' in the middle
#upto and including the 1st closing parenthesis
pattern_upto_1st_closed_parenth = re.compile('\w+::\w+\([^)]*\)')
match_upto_1st_cl