title: ANTLR4 - how to specify line does not start with specific character?
body: <p>Given the following example from <strong><em>The Definitive ANTLR 4 Reference</em></strong></p>
  
  <pre><code>STUFF: ~[\t\r\n]+ ; // match any chars except tab, newline
  </code></pre>
  
  <p>I am trying to define an alternate path for a line that starts with <code>*</code>.  For example:</p>
  
  <pre><code>line : ~ASTERIX keys ;
  ASTERIX : '*';
  </code></pre>
  
  <p>But, I don't want to match everything that is not <code>ASTERIX</code>, I want the <code>line</code> rule to execute when the line does not start with <code>ASTERIX</code> and then begin the rest of the matching.  </p>