Supporting local variables would enhance the experience a lot. However, we don't get that information from doxygen, so have to resort to regex.