code: @SuppressWarnings("unused")
      private int findEndOfNowikiGreedy (int startBlock) {
          // NOTE: this method could step back one char from startBlock position
          int nextBlock=startBlock-3;
          do {
              do {
                  nextBlock=wikiText.indexOf("{{{", nextBlock+3);
              } while (nextBlock>0 && wikiChars[nextBlock-1]=='~');
              if (nextBlock<0) nextBlock=wikiLength;
              int endBlock=wikiText.lastIndexOf("}}}", nextBlock);
              if (endBlock>=startBlock && wikiChars[endBlock-1]!='~') return endBlock;
          } while (nextBlock<wikiLength);
          return wikiLength;
      }
docs: Greedy version of findEndOfNowiki().
  It finds the last possible closing '}}}' before next opening '{{{'.
  Also uses escapes '~{{{' and '~}}}'.
  
  @param startBlock points to first char after '{{{'
  @return position of first '}' in closing '}}}'