parse a C++ code using python
<p>For example, say I have to parse:</p>

<pre><code>void (*do_something)(int a, int b);
</code></pre>

<p>Please let me know how do I find the position of the second occurrence of "(" (open bracket). </p>

<p>Here is what I tried out so far:</p>

<pre><code>text = "void (*do_something)(int a, int b);"
for m in re.finditer('(', text):
      print m.start()
</code></pre>

<p>Ultimately, what I intend to do is extract "(int a, int b)" from the piece of code above.</p>
