title: Best way to find functions with regex?
body: <p>Hey guys I'm working with a custom scripting language and I am making a sort of IDE for this language in C#. In this language the functions are defined like this:</p>
  
  <pre><code>yourfunctionhere(possiblepararmhere)
  {
    yourcodehere;
  }
  </code></pre>
  
  <p>I've been trying to figure out the best way to get a list of all the functions via regex and couldn't find a working way to get a list of all the defined functions. Could somebody tell me of a better way or a way to do it with regex? Thanks a lot!</p>
  
  <p>EDIT:
  Would something like this work in C#? <code>%[a-z_0-9^[^]*]++ [a-z_0-9*^[^]]+[ ^t]++[a-z_0-9*^[^]]+[ ^t]++^([*a-z_0-9]+^)[ ^t]++([^p*&amp;, ^t^[^]a-z_0-9./(!]++)[~;]</code></p>