eta.util.sexpr.balanced_substr

balanced_substr(s)[source]

Find a substring with a balanced number of parentheses.