current commit
200303.1 · released 1.8.0 - option -P with JIT-optimized PCRE2 library and Boost.Regex as alternative
^\h*\{?\h*([\w.<,>\[\]]+\h+)+\w+\h*\([^)\n]*\)\h*(\{.*|[^{;\w\n]*)$
(?^^.*\h+(catch|else|for|if|return|switch|throw|while).*$)