anchor.diff:  protected
   REGEXP_CTOR_END[boolean fromStart]
   returns [int tt=STRING_CTOR_END]
  +options {
  +    paraphrase="a regular expression literal end";
  +}
       :
           (
               options {  greedy = true;  }:
  
positive.code: protected
  STRING_CTOR_END[boolean fromStart, boolean tripleQuote]
  returns [int tt=STRING_CTOR_END]
          { boolean dollarOK = false; }
      :
          (
  
negative.code: 
  protected 
  STRING_NL[boolean allowNewline]
  options {
      paraphrase="a newline inside a string";
  }
      :  {if (!allowNewline) throw new MismatchedCharException('\n', '\n', true, this); } 
         ONE_NL { $setText('\n'); }
      ;
  