I\'m looking for a regular expression (**) that will match an unknown number of nested functions. So
expression function(expression) function(function(expres
Worth noting as per Bart Kiers's answer that some regex engines (excluding Javascript) have extended features to provide recursive matching - but such a feature shouldn't be considered to be a regular expression as per the formal definition.