Is there a way to do balanced match with std.regex?

Example (from [1]):

test -> funcPow((3),2) * (9+1)

I want to match the funcPow((3),2) bit, regardless of the depth of the expression in funcPow(*).

https://stackoverflow.com/questions/7898310/using-regex-to-balance-match-parenthesis
 [1]

Reply via email to