docs: private static void match_glob(GlobData mdata, Context cx,
                                     Scriptable scope, int count,
                                     RegExpImpl reImpl)
      {
          if (mdata.arrayobj == null) {
              mdata.arrayobj = cx.newArray(scope, 0);
          }
          SubString matchsub = reImpl.lastMatch;
          String matchstr = matchsub.toString();
          mdata.arrayobj.put(count, mdata.arrayobj, matchstr);
      }