Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You need to use this regex:</p> <pre><code> (INTERNAL_[^ ]+?\s?\(.*?\);) </code></pre> <p>The outer parentheses make all the text of a function to get captured inside a group.</p> <p>The function declaraton parentheses are escaped with backslash <code>\(</code> <code>\)</code>, so that they are treated as literals, instead of groupings.</p> <p><code>[^ ]\s?</code> means any character which is not space, one or more times, follorwed by an optional space just before the opening parenthesis</p> <p><code>.*?</code> means any character, <code>*</code> any number of times (including o), as least as possible</p> <p>As your functions declarations includes \n inside them, you need to create your regex using the <code>RegexOptions.Singleline</code> option as the second parameter of the Regex constructor:</p> <blockquote> <p>Specifies single-line mode. Changes the meaning of the dot (.) so it matches every character (instead of every character except \n).</p> </blockquote> <p>See doc at: <a href="http://msdn.microsoft.com/en-us/library/system.text.regularexpressions.regexoptions%28v=vs.95%29.aspx" rel="nofollow">RegexOptions Enumeration</a></p> <p>A good place to chek regexes is this one:</p> <p><a href="http://www.regexplanet.com/" rel="nofollow">www.regexplanet.com</a></p> <p>it lets you change the language and set options. For the SinleLine option check the 'dot (.) matches every character instead of every character except newlines (Singleline)' option on that page.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload