anchor.diff:        colon:COLON                           {pattern = pattern + colon.getText();}
         sortStr=sort                          {pattern = pattern + sortStr;}
       ;
  +*/
   
   private basicPattern returns[String pattern]
   {
  
positive.code: options {
    paraphrase = "'|'";
  }
      :  "|"
      ;
  STAR
  options {
    paraphrase = "'*'";
  }
      :  "*"
      ;
  ARROW
  options {
  
negative.code: options {
    paraphrase = "'_'";
  }
      :  '_'
      ;
  
  LPAREN
  