org-create-multibrace-regexp

org-create-multibrace-regexp is a compiled Lisp function in `org.el'.

(org-create-multibrace-regexp LEFT RIGHT N)

Create a regular expression which will match a balanced sexp.
Opening delimiter is LEFT, and closing delimiter is RIGHT, both given
as single character strings.
The regexp returned will match the entire expression including the
delimiters. It will also define a single group which contains the
match except for the outermost delimiters. The maximum depth of
stacked delimiters is N. Escaping delimiters is not possible.