It does, but this is for inside a regex pattern, i.e. match balanced parens and any number of contained balanced parens, including recursively to any depth like "(...(...)...(...(...(...)...)...)...)". The rub is the recursive bit. Some regex engines, notably PCRE and Perl has pretty nifty support for recursive patterns[^1]. Lua patterns have something simpler, the construct `%b()` — where `(` and `)` may be any two chars/bytes but typically are one of the pairs () {} [] <> for obvious reasons. It matches properly balanced parentheses including recursively nested. The only limitation is that the matched text may not contain any unbalanced parens, so e.g. "( () ( ) " won't match. Unlike PCRE/Perl you can't specify what the outer parens shall contain; rather you just match a pair of balanced parentheses which may contain non-parentheses and/or nested balanced parentheses. It is still powerful enough in most cases, and I would hope that someone be willing to add such a construct to Vim regexes.