docs: public boolean getBracketedToken(char start, char end, TextProvider textProvider)
      {
          clearLastToken(textProvider);
          clearLeadingSpaces(textProvider);
          mark(textProvider);
          if (m_debug)
  			debug("testing " + start + " " + end,textProvider);
          StringBuilder sb = new StringBuilder();
          char c = getNextChar(textProvider);
  
          if (c != start)
          {
              reset(textProvider);
              return false;
          }
          int brackets = 0;
  
          while (true)
          {
              if (c == start) brackets++;
              if (c == end) brackets--;
              sb.append(c);
              if (brackets < 1) break;
              c = getNextChar(textProvider);
              if (c == 0)
              {
              	reset(textProvider);
  				return false;
              }
          }
          unmark(textProvider);
          String s = sb.toString().trim();
          if (s.length() == 0) return false;
          textProvider.setLastToken(s);
          debug(textProvider);
          return true;
      }