substring paren_match (const string& inputText)

paren_match will return the data that is in the first matched set of parentheses

Documentation

paren_match will return the data that is in the first matched set of parentheses. e.g. if the text is like this: foo(la, la, la) it will return a substring pointing to "la, la, la" (no quotes, obviously) or, if it is (a, b(d, e(g, h), f), c) it will return "a, b(d, e(g, h), f), c" . paren_match will work both on strings and substrings.

alphabetic index hierarchy of classes


generated by doc++