if (lookingAt())
match = pattern.getRE().getMatch(input, 0, RE.REG_TRY_ENTIRE_MATCH); if (match != null)
  public boolean matches ()  {    if (lookingAt())      {	if (position == input.length())	  return true;	match = null;      }    return false;  }