splits a string into a vector of substrings while first matching parentheses
splits a string into a vector of substrings while first matching parentheses. This function will NOT match the characters when they are inside brackets. At the moment, this is specialized to only match "()" as brackets, although this may change in the future. sub_split_paren_patch does not copy the strings itself. Instead, it substrings, which are pointers into the original string and length counts. The substring.h file contains the useful information about what a substring is, and what you can do with one. Clearly, this was influenced by perl.
generated by doc++