title: php regex and possibly using (?<!a)b within my own regex
body: <p>Trying to work on a PHP regex that will match words that may be functions, that are not in double quotes. While ignoring anything that is in double quotes that may be functions. The below already matches 'hello(world)'. And will place 'hello(world)' in one array then 'hello' in another. However, I want to have a conditional that does not add it as stated above.</p>
  
  <pre><code>preg_match_all('#(\w*)\s*\(.*?\)#i',$str,$m);
  </code></pre>
  
  <p>I was trying to play with it. And using the following example to help me.</p>
  
  <pre><code>(?&lt;!a)b
  </code></pre>
  
  <p>Though the pattern turns out wrong when applied. If anyone has any help in the matter, I would appreciate it.</p>
  
  <p>As a output of the current design of the regex. Take the following example.</p>
  
  <p><strong>Input:</strong></p>
  
  <p>one($two) two($1) three($2one)}meme1(you2) this(that) die ("now") these function myfunc($me) empty()</p>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>array (
    0 =&gt; 
    array (
      0 =&gt; 'one($two)',
      1 =&gt; 'two($1)',
      2 =&gt; 'three($2one)',
      3 =&gt; 'meme1(you2)',
      4 =&gt; 'this(that)',
      5 =&gt; 'die (\\"meohmy\\")',
      6 =&gt; 'myfunc($me)',
      7 =&gt; 'empty()',
    ),
    1 =&gt; 
    array (
      0 =&gt; 'one',
      1 =&gt; 'two',
      2 =&gt; 'three',
      3 =&gt; 'meme1',
      4 =&gt; 'this',
      5 =&gt; 'die',
      6 =&gt; 'myfunc',
      7 =&gt; 'empty',
    ),
  )
  </code></pre>